org.argouml.uml.ui.foundation.core
Class UMLVisibilityButtonGroup

java.lang.Object
  extended byjavax.swing.ButtonGroup
      extended byorg.argouml.uml.ui.UMLButtonGroup
          extended byorg.argouml.uml.ui.foundation.core.UMLVisibilityButtonGroup
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, ru.novosoft.uml.MElementListener, java.io.Serializable, UMLUserInterfaceComponent
Direct Known Subclasses:
UMLElementOwnershipVisibilityButtonGroup

public abstract class UMLVisibilityButtonGroup
extends UMLButtonGroup

Model for namespace visibility.

Since:
Oct 12, 2002
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.ButtonGroup
buttons
 
Constructor Summary
UMLVisibilityButtonGroup(UMLUserInterfaceContainer container)
          Constructor for UMLVisibilityButtonGroup.
 
Method Summary
 void buildModel()
          Builds the model.
 javax.swing.JRadioButton getPrivateButton()
          Returns the privateButton.
 javax.swing.JRadioButton getProtectedButton()
          Returns the protectedButton.
 javax.swing.JRadioButton getPublicButton()
          Returns the publicButton.
protected abstract  void setActions()
           
 
Methods inherited from class org.argouml.uml.ui.UMLButtonGroup
actionPerformed, add, getContainer, getTarget, listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved, setContainer, setTarget, targetChanged, targetReasserted
 
Methods inherited from class javax.swing.ButtonGroup
add, getButtonCount, getElements, getSelection, isSelected, remove, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLVisibilityButtonGroup

public UMLVisibilityButtonGroup(UMLUserInterfaceContainer container)
Constructor for UMLVisibilityButtonGroup.

Parameters:
container -
Method Detail

buildModel

public void buildModel()
Description copied from class: UMLButtonGroup
Builds the model. That is: it selects the correct button. The name of this method is choosen to be compliant with for example UMLModelElementListModel2

Specified by:
buildModel in class UMLButtonGroup
See Also:
UMLButtonGroup.buildModel()

getPrivateButton

public javax.swing.JRadioButton getPrivateButton()
Returns the privateButton.

Returns:
JRadioButton

getProtectedButton

public javax.swing.JRadioButton getProtectedButton()
Returns the protectedButton.

Returns:
JRadioButton

getPublicButton

public javax.swing.JRadioButton getPublicButton()
Returns the publicButton.

Returns:
JRadioButton

setActions

protected abstract void setActions()


ArgoUML © 1996-2003 (20040125)ArgoUML Project HomeArgoUML Cookbook