org.argouml.uml.ui.foundation.core
Class UMLVisibilityButtonGroup
java.lang.Object
|
+--javax.swing.ButtonGroup
|
+--org.argouml.uml.ui.UMLButtonGroup
|
+--org.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
Fields inherited from class javax.swing.ButtonGroup |
buttons |
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 |
UMLVisibilityButtonGroup
public UMLVisibilityButtonGroup(UMLUserInterfaceContainer container)
- Constructor for UMLVisibilityButtonGroup.
- Parameters:
container
-
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
- Overrides:
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()