|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.awt.Color |
getEntityColor(Entity entity)
The color to use when diplaying this entity. |
java.awt.Font |
getEntityFont(Entity entity,
double scale)
The font to use when displaying this entity. |
java.awt.Color |
getEntityFontColor(Entity entity)
The color of the font used to draw the entity fonts. |
java.awt.Color |
getEntitySelectedColor(Entity entity)
The color to draw the "selection cross" on the entity if it is selected. |
java.awt.Dimension |
getEntitySize()
The size of the circle representing an entity. |
java.awt.Color |
getRelationColor(Relation relation)
The color to use when diplaying this relation. |
java.awt.Font |
getRelationFont(Relation relation,
double scale)
The font to use when displaying this entity. |
java.awt.Color |
getRelationFontColor(Relation entity)
The color of the font used to draw the relation fonts. |
java.awt.Color |
getRelationSelectedColor(Relation relation)
The color of a selected relation. |
java.awt.Dimension |
getViewInsets()
The extra border space drawn outside the minimal square occupied by all the entities in the model. |
boolean |
showEntityNames(double scale)
Should entity names be displayed? |
boolean |
showRelationNames(double scale)
Should relation names be displayed? |
Method Detail |
public java.awt.Color getEntityColor(Entity entity)
public java.awt.Color getEntityFontColor(Entity entity)
public java.awt.Color getRelationFontColor(Relation entity)
public java.awt.Color getRelationSelectedColor(Relation relation)
public java.awt.Color getEntitySelectedColor(Entity entity)
public java.awt.Dimension getEntitySize()
public java.awt.Dimension getViewInsets()
public java.awt.Font getEntityFont(Entity entity, double scale)
public java.awt.Color getRelationColor(Relation relation)
public java.awt.Font getRelationFont(Relation relation, double scale)
public boolean showEntityNames(double scale)
scale
- The current scale (with 1.0 meaning normal scale).public boolean showRelationNames(double scale)
scale
- The current scale (with 1.0 meaning normal scale).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |