edu.stanford.smi.protegex.widget.diagram
Class DiagramObjectState
java.lang.Object
|
+--edu.stanford.smi.protegex.widget.diagram.DiagramObjectState
- All Implemented Interfaces:
- Constants
- Direct Known Subclasses:
- NodeState, WireState
- public class DiagramObjectState
- extends Object
- implements Constants
Description of the class
- Author:
- William Grosso
Fields inherited from interface edu.stanford.smi.protegex.widget.diagram.Constants |
CONFIGURATION_BASED_VISIBILITY_CHECKER, CONNECTOR_CLASS, CONNECTORS_SLOT, DEFAULT_LAST_DIVIDER_LOCATION, DEFAULT_LOWER_BOUND_ON_DIAGRAM_LOGICAL_HEIGHT, DEFAULT_LOWER_BOUND_ON_DIAGRAM_LOGICAL_WIDTH, DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH, FIRST_OBJECT_SLOT_NAME, FIRST_OBJECT_SLOT_POINTER_NAME, IMAGE_CONTROLPOINT_PRECISION, IMAGE_MINIMUM_SIZE, LAST_DIVIDER_LOCATION, LAYOUT_INFORMATION_SLOT, LOCATION_SLOT, LOWER_RIGHT_CORNER_SLOT, MAIN_SIDE_RECTANGLE_HEIGHT, MAIN_SIDE_RECTANGLE_WIDTH, NETWORK_CLASS, NETWORK_METACLASS, NODE_SLOT, OBJECT_LOCATION_CLASS, OBJECT_SLOT, POINT_CLASS, POINT_X_SLOT, POINT_Y_SLOT, PROJECT_VISIBILITY_CHECKER, RECTANGLE_CLASS, SECOND_OBJECT_SLOT_NAME, SECOND_OBJECT_SLOT_POINTER_NAME, UPPER_LEFT_CORNER_SLOT, WIRE_CONTROLPOINT_PRECISION, WIRE_MINIMUM_SIZE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOLD_TEXT_DEFAULT
public static final boolean BOLD_TEXT_DEFAULT
ITALIC_TEXT_DEFAULT
public static final boolean ITALIC_TEXT_DEFAULT
VERTICALLY_CENTERED_TEXT_DEFAULT
public static final boolean VERTICALLY_CENTERED_TEXT_DEFAULT
HORIZONTALLY_CENTERED_TEXT_DEFAULT
public static final boolean HORIZONTALLY_CENTERED_TEXT_DEFAULT
DRAW_TEXT_USING_GLYPH_COLOR_DEFAULT
public static final boolean DRAW_TEXT_USING_GLYPH_COLOR_DEFAULT
_objectColor
protected Color _objectColor
_textColor
protected Color _textColor
_displayText
protected boolean _displayText
_boldText
protected boolean _boldText
_italicText
protected boolean _italicText
_verticallyCenteredText
protected boolean _verticallyCenteredText
_horizontallyCenteredText
protected boolean _horizontallyCenteredText
OBJECT_COLOR_RGB_DESCRIPTOR
protected static final String OBJECT_COLOR_RGB_DESCRIPTOR
TEXT_COLOR_RGB_DESCRIPTOR
protected static final String TEXT_COLOR_RGB_DESCRIPTOR
DISPLAY_TEXT
protected static final String DISPLAY_TEXT
MAKE_TEXT_BOLD
protected static final String MAKE_TEXT_BOLD
MAKE_TEXT_ITALIC
protected static final String MAKE_TEXT_ITALIC
VERTICALLY_CENTER_TEXT
protected static final String VERTICALLY_CENTER_TEXT
HORIZONTALLY_CENTER_TEXT
protected static final String HORIZONTALLY_CENTER_TEXT
DiagramObjectState
public DiagramObjectState(edu.stanford.smi.protege.util.PropertyList pList)
getBoldText
public boolean getBoldText()
getDisplayText
public boolean getDisplayText()
getHorizontallyCenteredText
public boolean getHorizontallyCenteredText()
getItalicText
public boolean getItalicText()
getObjectColor
public Color getObjectColor()
getTextColor
public Color getTextColor()
getVerticallyCenteredText
public boolean getVerticallyCenteredText()
isBoldText
public boolean isBoldText()
isDisplayText
public boolean isDisplayText()
isHorizontallyCenteredText
public boolean isHorizontallyCenteredText()
isItalicText
public boolean isItalicText()
isVerticallyCenteredText
public boolean isVerticallyCenteredText()
readBoolean
protected boolean readBoolean(edu.stanford.smi.protege.util.PropertyList properties,
String name,
boolean defaultValue)
readColor
protected Color readColor(edu.stanford.smi.protege.util.PropertyList properties,
String name,
Color defaultValue)
readInt
protected int readInt(edu.stanford.smi.protege.util.PropertyList properties,
String name,
int defaultValue)
readString
protected String readString(edu.stanford.smi.protege.util.PropertyList properties,
String name,
String defaultValue)
setBoldText
public void setBoldText(boolean boldText)
setDisplayText
public void setDisplayText(boolean displayText)
setHorizontallyCenteredText
public void setHorizontallyCenteredText(boolean horizontallyCenteredText)
setItalicText
public void setItalicText(boolean italicText)
setObjectColor
public void setObjectColor(Color objectColor)
setTextColor
public void setTextColor(Color textColor)
setVerticallyCenteredText
public void setVerticallyCenteredText(boolean verticallyCenteredText)
writeToPropertyList
public void writeToPropertyList(edu.stanford.smi.protege.util.PropertyList pList)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.