| |
|
| org.acm.seguin.uml.line.EndPointPanel org.acm.seguin.uml.UMLLine
All known Subclasses: org.acm.seguin.uml.UMLNestedType, org.acm.seguin.uml.UMLMethod, org.acm.seguin.uml.UMLField,
UMLLine | public class UMLLine extends EndPointPanel (Code) | | Displays a single UML line
author: Chris Seguin |
DEFAULT | final public static int DEFAULT(Code) | | Description of the Field
|
PRIVATE | final public static int PRIVATE(Code) | | Description of the Field
|
PROTECTED | final public static int PROTECTED(Code) | | Description of the Field
|
PROTECTED_PRIVATE | final public static int PROTECTED_PRIVATE(Code) | | Description of the Field
|
PUBLIC | final public static int PUBLIC(Code) | | Description of the Field
|
abstractFont | protected static Font abstractFont(Code) | | Description of the Field
|
abstractTitleFont | protected static Font abstractTitleFont(Code) | | Description of the Field
|
defaultFont | protected static Font defaultFont(Code) | | Description of the Field
|
high | protected int high(Code) | | Description of the Field
|
iconMargin | final protected static int iconMargin(Code) | | Description of the Field
|
labelMargin | final protected static int labelMargin(Code) | | Description of the Field
|
protectionColors | protected static Color[] protectionColors(Code) | | Description of the Field
|
staticFont | protected static Font staticFont(Code) | | Description of the Field
|
titleFont | protected static Font titleFont(Code) | | Description of the Field
|
wide | protected int wide(Code) | | Description of the Field
|
UMLLine | public UMLLine(UMLType parent, DragPanelAdapter adapter)(Code) | | Create a new instance of a UMLLine
Parameters: parent - Description of Parameter Parameters: adapter - Description of Parameter |
addMouseListener | public void addMouseListener(MouseListener listener)(Code) | | Add a mouse listener
Parameters: listener - the new listener |
addMouseMotionListener | public void addMouseMotionListener(MouseMotionListener listener)(Code) | | Add a mouse listener
Parameters: listener - the new listener |
drawIcon | protected void drawIcon(Graphics g, int x, int y)(Code) | | Draws the icon
Parameters: g - the graphics object Parameters: x - Description of Parameter Parameters: y - Description of Parameter |
getDefaultBackground | protected Color getDefaultBackground()(Code) | | Return the default background color
the color |
getMinimumSize | public Dimension getMinimumSize()(Code) | | Returns the minimum size
The size |
getParentType | public UMLType getParentType()(Code) | | Gets the ParentType attribute of the UMLLine object
The ParentType value |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Returns the preferred size
The size |
getProtectionCode | protected static int getProtectionCode(ModifierHolder modifiers)(Code) | | Add the protection information for this field or method
Parameters: modifiers - the modifier information Description of the Returned Value |
getProtectionColor | protected static Color getProtectionColor(int level)(Code) | | Get the color associated with a level of protection
Parameters: level - the level that we need to know the color |
getProtectionFont | protected static Font getProtectionFont(boolean title, ModifierHolder modifiers)(Code) | | Get the font appropriate for the level of protection
Parameters: title - is this a title Parameters: modifiers - the modifiers Description of the Returned Value |
isSelected | public boolean isSelected()(Code) | | Gets the Selected attribute of the UMLLine object
The Selected value |
paint | public void paint(Graphics g)(Code) | | Paint this object
Parameters: g - the graphics object |
print | public void print(Graphics g, int x, int y)(Code) | | Print this object
Parameters: g - the graphics object Parameters: x - the x coordinate Parameters: y - the y coordinate |
removeMouseListener | public void removeMouseListener(MouseListener listener)(Code) | | Remove a mouse listener
Parameters: listener - the new listener |
removeMouseMotionListener | public void removeMouseMotionListener(MouseMotionListener listener)(Code) | | Remove a mouse listener
Parameters: listener - the new listener |
scale | public void scale(double value)(Code) | | Sets the scaling factor
Parameters: value - scaling factor |
setLabelFont | public void setLabelFont(Font font)(Code) | | Set the font
Parameters: font - the new font |
setLabelText | public void setLabelText(String msg)(Code) | | Set the text
Parameters: msg - the message |
setProtection | public void setProtection(int code)(Code) | | Set the protection code
Parameters: code - the code |
setSelected | public void setSelected(boolean value)(Code) | | Sets the Selected attribute of the UMLLine object
Parameters: value - The new Selected value |
Methods inherited from org.acm.seguin.uml.line.EndPointPanel | abstract public boolean isSelected()(Code)(Java Doc) abstract public void setSelected(boolean value)(Code)(Java Doc)
|
|
|
|