|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.toscanaj.view.diagram.DiagramSchema
DiagramSchema will hold the palette colors, line widths and similar information for the DiagramView. This class uses a Singleton design pattern.
Field Summary | |
static org.tockit.swing.preferences.ExtendedPreferences |
preferences
|
Method Summary | |
int |
compareTo(java.lang.Object o)
|
java.awt.Color |
fadeOut(java.awt.Color original)
Fades a color into the background. |
ArrowStyle[] |
getArrowStyles()
|
java.awt.Color |
getBackgroundColor()
Returns background color. |
java.awt.Color |
getCircleColor()
Returns color for the circles around the nodes. |
java.awt.Color |
getCircleFilterColor()
Returns color for the circles around the nodes in the filter of the selected concept. |
java.awt.Color |
getCircleIdealColor()
Returns color for the circles around the nodes in the ideal of the selected. |
java.awt.Color |
getCircleSelectionColor()
Returns color for the circles around the node with the selected concept. |
static DiagramSchema |
getCurrentSchema()
|
Gradient |
getDefaultGradient()
Returns a gradient to be used for the node colors. |
float |
getDefaultLineWidth()
|
java.awt.Color |
getForegroundColor()
|
Gradient |
getGradient()
|
ConceptInterpreter.IntervalType |
getGradientType()
Returns the type of information that should be used to create the diagram. |
java.awt.Font |
getLabelFont()
|
java.awt.Color |
getLineColor()
Returns color for the lines between nodes. |
int |
getMargin()
|
java.lang.String |
getName()
|
java.awt.Color |
getNestedDiagramNodeColor()
Returns background color for the nested diagrams. |
ConceptInterpreter.IntervalType |
getNodeSizeScalingType()
|
float |
getNodeStrokeWidth()
|
java.awt.Color |
getNotRealisedNodeColor(java.awt.Color nodeColor)
|
double |
getNotRealizedNodeSizeReductionFactor()
|
static java.util.Collection |
getSchemas()
|
float |
getSelectionLineWidth()
|
void |
restore(org.tockit.swing.preferences.ExtendedPreferences extPrefs)
|
void |
setAsCurrent()
|
void |
setBottomColor(java.awt.Color bottomColor)
Set the bottom color to new color. |
void |
setCircleColor(java.awt.Color circleColor)
Set the circle color to new color. |
void |
setDefaultLineWidth(float lineWidth)
|
void |
setGradient(Gradient gradient)
|
void |
setGradientType(ConceptInterpreter.IntervalType gradientType)
Sets the type of information that should be used to create the diagram. |
void |
setLineColor(java.awt.Color lineColor)
Set the line color to new color. |
void |
setNodeSizeScalingType(ConceptInterpreter.IntervalType nodeSizeScalingType)
|
void |
setNodeStrokeWidth(float nodeStrokeWidth)
|
void |
setSelectionLineWidth(float lineWidth)
|
void |
setTopColor(java.awt.Color topColor)
Set the top color to new color. |
void |
store()
Stores the schema in the preferences. |
static void |
storeAll()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static org.tockit.swing.preferences.ExtendedPreferences preferences
Method Detail |
public static java.util.Collection getSchemas()
public static DiagramSchema getCurrentSchema()
public java.awt.Color getForegroundColor()
public java.awt.Color getBackgroundColor()
public Gradient getGradient()
public void setGradient(Gradient gradient)
public Gradient getDefaultGradient()
public java.awt.Color getCircleColor()
public java.awt.Color getLineColor()
public java.awt.Color getCircleSelectionColor()
public java.awt.Color getCircleIdealColor()
public java.awt.Color getCircleFilterColor()
public java.awt.Color getNestedDiagramNodeColor()
public ConceptInterpreter.IntervalType getGradientType()
public float getDefaultLineWidth()
public void setDefaultLineWidth(float lineWidth)
public float getSelectionLineWidth()
public void setSelectionLineWidth(float lineWidth)
public float getNodeStrokeWidth()
public void setNodeStrokeWidth(float nodeStrokeWidth)
public void setCircleColor(java.awt.Color circleColor)
public void setLineColor(java.awt.Color lineColor)
public void setTopColor(java.awt.Color topColor)
public void setBottomColor(java.awt.Color bottomColor)
public void setGradientType(ConceptInterpreter.IntervalType gradientType)
public java.awt.Color fadeOut(java.awt.Color original)
public int getMargin()
public double getNotRealizedNodeSizeReductionFactor()
public ConceptInterpreter.IntervalType getNodeSizeScalingType()
public void setNodeSizeScalingType(ConceptInterpreter.IntervalType nodeSizeScalingType)
public java.awt.Color getNotRealisedNodeColor(java.awt.Color nodeColor)
public java.awt.Font getLabelFont()
public void store()
public void setAsCurrent()
public ArrowStyle[] getArrowStyles()
public static void storeAll()
public java.lang.String getName()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public void restore(org.tockit.swing.preferences.ExtendedPreferences extPrefs)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |