|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.iv.graphdrawing.distortion.DistortionVertexDraw
public class DistortionVertexDraw
Constructor Summary | |
---|---|
DistortionVertexDraw(Vertex v,
java.awt.geom.Point2D pos,
java.awt.geom.Point2D center,
DistortionVisualization distortionPanel)
Creates a new instance of VertexDraw |
Method Summary | |
---|---|
void |
dispose()
deletes this VertexDraw and frees all resources it uses. |
java.awt.geom.Point2D |
getNormalizedPosition()
|
int |
getNumberOfLeaves()
|
java.awt.geom.Point2D |
getPosition()
|
Vertex |
getVertex()
|
java.awt.geom.Point2D |
getVertexRepresentationPosition()
|
boolean |
isExpandable()
|
boolean |
isExpanded()
|
boolean |
isSelected()
|
boolean |
isVisible()
|
void |
setExpanded(boolean expanded)
sets the expaned property to the specified state. |
void |
setNormalizedPosition(java.awt.geom.Point2D point)
|
void |
setNumberOfLeaves(int value)
|
void |
setSelected(boolean selected)
sets the selected property to the specified state |
void |
setShade(double shade)
sets shade to a value between 0 and 100 |
void |
startMouseListening()
|
void |
stopMouseListening()
|
java.lang.String |
toString()
only for debugging purposes. |
void |
updateFont()
updates the font for this DistorsionVertexDraw |
void |
updatePos(java.awt.geom.Point2D pos,
java.awt.geom.Point2D center)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DistortionVertexDraw(Vertex v, java.awt.geom.Point2D pos, java.awt.geom.Point2D center, DistortionVisualization distortionPanel)
Method Detail |
---|
public void updatePos(java.awt.geom.Point2D pos, java.awt.geom.Point2D center)
pos
- center
- public void updateFont()
public void setShade(double shade)
VertexDraw
setShade
in interface VertexDraw
VertexDraw.setShade(double)
public void startMouseListening()
public void stopMouseListening()
public Vertex getVertex()
getVertex
in interface VertexDraw
public java.awt.geom.Point2D getVertexRepresentationPosition()
public void setNormalizedPosition(java.awt.geom.Point2D point)
public java.awt.geom.Point2D getNormalizedPosition()
public java.awt.geom.Point2D getPosition()
public boolean isSelected()
public void setSelected(boolean selected)
selected
- public boolean isExpandable()
isExpandable
in interface VertexDraw
public boolean isExpanded()
isExpanded
in interface VertexDraw
public void setExpanded(boolean expanded)
setExpanded
in interface VertexDraw
expanded
- public int getNumberOfLeaves()
public void setNumberOfLeaves(int value)
public boolean isVisible()
isVisible
in interface VertexDraw
public void dispose()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |