org.argouml.uml.diagram.static_structure.ui
Class FigEnumerationLiteral

java.lang.Object
  extended by FigText
      extended by org.argouml.uml.diagram.ui.ArgoFigText
          extended by org.argouml.uml.diagram.ui.FigSingleLineText
              extended by org.argouml.uml.diagram.ui.FigSingleLineTextWithNotation
                  extended by org.argouml.uml.diagram.ui.CompartmentFigText
                      extended by org.argouml.uml.diagram.static_structure.ui.FigEnumerationLiteral
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ArgoEventListener, ArgoNotationEventListener, TargetListener, ArgoFig

public class FigEnumerationLiteral
extends CompartmentFigText

Fig to show one EnumerationLiteral in a compartment.


Field Summary
 
Fields inherited from interface org.argouml.uml.diagram.ui.ArgoFig
DEBUG, DEBUG_COLOR, FILL_COLOR, INVISIBLE_LINE_COLOR, LINE_COLOR, LINE_WIDTH, ROWHEIGHT, SOLID_FILL_COLOR, STEREOHEIGHT, TEXT_COLOR, X0, Y0
 
Constructor Summary
FigEnumerationLiteral(java.lang.Object owner, java.awt.Rectangle bounds, DiagramSettings settings)
          Build a new Enumeration Literal figText of the given dimensions, within the compartment described by aFig.
 
Method Summary
protected  int getNotationProviderType()
          Overrule this for subclasses that need a different NotationProvider.
 
Methods inherited from class org.argouml.uml.diagram.ui.CompartmentFigText
getLineColor, isFilled, isHighlighted, paint, removeFromDiagram, setHighlighted, targetAdded, targetRemoved, targetSet, textEdited
 
Methods inherited from class org.argouml.uml.diagram.ui.FigSingleLineTextWithNotation
getNotationProvider, getNotationSettings, initNotationProviders, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, propertyChange, renderingChanged, setText, showHelp, textEditStarted, updateLayout
 
Methods inherited from class org.argouml.uml.diagram.ui.FigSingleLineText
getMinimumSize, isStartEditingKey, setFilled
 
Methods inherited from class org.argouml.uml.diagram.ui.ArgoFigText
addNotificationListener, deleteFromModel, getFigFontStyle, getNotificationInfo, getProject, getSettings, removeNotificationListener, removeNotificationListener, setOwner, setProject, setSettings, updateFont, updateListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FigEnumerationLiteral

public FigEnumerationLiteral(java.lang.Object owner,
                             java.awt.Rectangle bounds,
                             DiagramSettings settings)
Build a new Enumeration Literal figText of the given dimensions, within the compartment described by aFig.

Parameters:
owner - owning UML element
bounds - position and size
settings - render settings
Method Detail

getNotationProviderType

protected int getNotationProviderType()
Description copied from class: FigSingleLineTextWithNotation
Overrule this for subclasses that need a different NotationProvider.

Overrides:
getNotationProviderType in class FigSingleLineTextWithNotation
Returns:
the type of the notation provider


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook