|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.iv.graphdrawing.nativeboxtree.NativeBoxTreeVertexDraw
public class NativeBoxTreeVertexDraw
besteht aus 3 Dingen:
1.einer Kante vom Vater zu diesem Draw
2.einem Label, variabler Länge
3.(ausblendbar) einem Icon fär ein-/ausblenden der Söhne
Constructor Summary | |
---|---|
NativeBoxTreeVertexDraw(NativeBoxTreeVisualization view,
Vertex vertex)
|
Method Summary | |
---|---|
java.awt.geom.Point2D |
getAnimToPosition()
|
int |
getHeight()
|
java.awt.Point |
getIncommingEdgePoint()
|
javax.swing.JComponent |
getJComponent()
|
java.awt.Point |
getOutgoingEdgePoint()
|
Vertex |
getVertex()
|
int |
getWidth()
|
boolean |
isExpandable()
|
boolean |
isExpanded()
|
boolean |
isVisible()
|
void |
setAnimToPosition(double x,
double y)
sets the position where the vertex is animated to. |
void |
setExpanded(boolean expanded)
|
void |
setShade(double shade)
sets shade to a value between 0 and 100 |
void |
update()
updates size, text and internal positions |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NativeBoxTreeVertexDraw(NativeBoxTreeVisualization view, Vertex vertex)
Method Detail |
---|
public Vertex getVertex()
getVertex
in interface VertexDraw
VertexDraw.getVertex()
public boolean isExpandable()
isExpandable
in interface VertexDraw
VertexDraw.isExpandable()
public boolean isExpanded()
isExpanded
in interface VertexDraw
VertexDraw.isExpanded()
public void setExpanded(boolean expanded)
setExpanded
in interface VertexDraw
VertexDraw.setExpanded(boolean)
public boolean isVisible()
isVisible
in interface VertexDraw
VertexDraw.isVisible()
public void setShade(double shade)
VertexDraw
setShade
in interface VertexDraw
public void setAnimToPosition(double x, double y)
x
- - x-pos of the positiony
- - y-pos of the positionpublic java.awt.geom.Point2D getAnimToPosition()
public int getHeight()
public int getWidth()
public java.awt.Point getOutgoingEdgePoint()
public java.awt.Point getIncommingEdgePoint()
public void update()
public javax.swing.JComponent getJComponent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |