| org.acm.seguin.uml.line.EndPointPanel org.acm.seguin.uml.UMLType
UMLType | public class UMLType extends EndPointPanel implements ISourceful(Code) | | Displays the summary of a type object
author: Chris Seguin author: Mike Atkinson version: $Id: UMLType.java,v 1.4 2003/07/29 20:51:57 mikeatkinson Exp $ since: empty |
borderWidth | protected int borderWidth(Code) | | Description of the Field
|
lineSize | protected int lineSize(Code) | | Description of the Field
|
UMLType | public UMLType(UMLPackage initParent, TypeSummary initType, boolean foreign)(Code) | | Create a new instance of a UMLType
Parameters: initParent - the parent Parameters: initType - the initial type data Parameters: foreign - Description of Parameter |
convertToAssociation | public AssociationRelationship convertToAssociation(UMLPackage packagePanel, UMLField fieldPanel)(Code) | | Convert an attribute to an association
Parameters: packagePanel - the package panel Parameters: fieldPanel - the field panel the new segmented line |
convertToAttribute | public void convertToAttribute(UMLPackage packagePanel, UMLField fieldPanel)(Code) | | Convert from an association to an attribute
Parameters: packagePanel - the package panel Parameters: fieldPanel - the field panel |
deselect | public void deselect()(Code) | | Select this item
|
getBackgroundColor | public Color getBackgroundColor()(Code) | | Return the background color
the background color |
getField | public UMLField getField(String name)(Code) | | Count the number of attributes
Parameters: name - Description of Parameter the number of attributes |
getID | public String getID()(Code) | | Returns an identifier for a type
an identifier for this panel |
getMinimumSize | public Dimension getMinimumSize()(Code) | | Returns the minimum size
The size |
getPackage | public UMLPackage getPackage()(Code) | | Get the UML package that is holding this
the package |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Returns the preferred size
The size |
getSourceSummary | public Summary getSourceSummary()(Code) | | Returns the type summary for this class
the type summary |
isForeign | public boolean isForeign()(Code) | | Determine if this is foreign
true if this is foreign |
isSelected | public boolean isSelected()(Code) | | Determine if this is selected
true if this is selected |
load | public void load(String buffer)(Code) | | Load the type
Parameters: buffer - the buffer |
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 |
resize | public void resize()(Code) | | Resizes and repositions the compontents, and repaints them.
|
save | public void save(PrintWriter output)(Code) | | Save the files
Parameters: output - the output stream |
scale | public void scale(double value)(Code) | | Sets the scaling factor
Parameters: value - scaling factor |
select | public void select()(Code) | | Select this item
|
setSelected | public void setSelected(boolean way)(Code) | | Sets the Selected attribute of the UMLType object
Parameters: way - The new Selected value |
toggleSelect | public void toggleSelect()(Code) | | Toggle the selected state
|
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)
|
|
|