|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.DefaultEdgeView
public class DefaultEdgeView
This class contains all informations that are needed to draw a Edge on a GraphView.
Constructor Summary | |
---|---|
DefaultEdgeView()
|
Method Summary | |
---|---|
float |
getAlpha()
Returns the alpha value. |
float |
getAlphaForLongLines()
Returns the alpha value for long lines. |
java.awt.Color |
getColor()
Returns the color of the line. |
java.awt.Color |
getColorForLongLines()
Returns the color for long lines. |
float |
getDeltaX()
|
float |
getDeltaY()
|
float |
getDeltaZ()
|
int |
getGapBottom()
Returns the gap at the bottom. |
int |
getGapTop()
Returns the gap at the top. |
java.awt.Color |
getHighlightedColor()
Returns the highlighted color of the line. |
float |
getHighlightedWidth()
Returns the width for lines that are highlighted. |
float |
getWidth()
Returns the width of the line. |
boolean |
isConnectChildren()
Returns true, when childrens will be drawed connected. |
void |
setAlpha(float alpha)
Sets the alpha value. |
void |
setAlphaForLongLines(float alphaForLongLines)
Sets the alpha value for long lines. |
void |
setColor(java.awt.Color color)
Sets the color of the line. |
void |
setColorForLongLines(java.awt.Color colorForLongLines)
Sets the color for long lines. |
void |
setConnectChildren(boolean connectChildren)
|
void |
setDeltaForLongLines(float dx,
float dy,
float dz)
|
void |
setGapBottom(int gapBottom)
Sets the gap at the bottom. |
void |
setGapTop(int gapTop)
Sets the gap at the top. |
void |
setHighlightedColor(java.awt.Color highlightedColor)
Sets the highlighted color of the line. |
void |
setHighlightedWidth(float highlightedWidth)
Sets the width for lines that are highlighted. |
void |
setWidth(float width)
Sets the width of the line. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEdgeView()
Method Detail |
---|
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- color of the linepublic float getWidth()
public void setWidth(float width)
width
- the width of the linepublic java.awt.Color getHighlightedColor()
public void setHighlightedColor(java.awt.Color highlightedColor)
highlightedColor
- highlighted color of the line.public java.awt.Color getColorForLongLines()
public void setColorForLongLines(java.awt.Color colorForLongLines)
colorForLongLines
- color for long linespublic boolean isConnectChildren()
public void setConnectChildren(boolean connectChildren)
public int getGapBottom()
public void setGapBottom(int gapBottom)
gapBottom
- gap at the bottompublic int getGapTop()
public void setGapTop(int gapTop)
gapTop
- gap at the top.public float getHighlightedWidth()
public void setHighlightedWidth(float highlightedWidth)
highlightedWidth
- width for lines that are highlightedpublic void setAlpha(float alpha)
alpha
- the alpha value.public float getAlpha()
public float getAlphaForLongLines()
public void setAlphaForLongLines(float alphaForLongLines)
alphaForLongLines
- the alpha value for long lines.public void setDeltaForLongLines(float dx, float dy, float dz)
public float getDeltaX()
public float getDeltaY()
public float getDeltaZ()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |