|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.ButtonGroup | +--org.argouml.uml.ui.UMLButtonGroup
The UMLButtonGroup is the buttongroup behind radio buttons that depict some attribute of a modelelement like visibility. The radio buttons are controlled by the buttongroup. The UMLButtonGroup can be compared to the UMLComboBoxModel where the items in the model are the radionbuttons in the buttongroup.
Fields inherited from class javax.swing.ButtonGroup |
buttons |
Constructor Summary | |
UMLButtonGroup(UMLUserInterfaceContainer container)
Constructor for UMLButtonGroup. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
add(javax.swing.AbstractButton button,
javax.swing.Action action)
Adds a button and an action to the group. |
abstract void |
buildModel()
Builds the model. |
UMLUserInterfaceContainer |
getContainer()
Returns the container. |
java.lang.Object |
getTarget()
Returns the target. |
void |
listRoleItemSet(ru.novosoft.uml.MElementEvent e)
|
void |
propertySet(ru.novosoft.uml.MElementEvent e)
|
void |
recovered(ru.novosoft.uml.MElementEvent e)
|
void |
removed(ru.novosoft.uml.MElementEvent e)
Removing elements does not have any influence on a buttongroup |
void |
roleAdded(ru.novosoft.uml.MElementEvent e)
Adding roles does not have any influence on the buttongroup (unless you want to add a button...) |
void |
roleRemoved(ru.novosoft.uml.MElementEvent e)
Removing roles does not have any influence on the buttongroup (unless you want to remove a button...) |
void |
setContainer(UMLUserInterfaceContainer container)
Sets the container. |
void |
setTarget(java.lang.Object target)
Sets the target. |
void |
targetChanged()
When the target changes, the buttonmodel must be updated. |
void |
targetReasserted()
This method is called when the navigation history has been changed (and navigation buttons may need to be updated). targetChanged implies navigationHistoryChanged, so this method will not be called after a targetChange. |
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 |
public UMLButtonGroup(UMLUserInterfaceContainer container)
Method Detail |
public void add(javax.swing.AbstractButton button, javax.swing.Action action)
button
- action
- public void targetChanged()
targetChanged
in interface UMLUserInterfaceComponent
UMLUserInterfaceComponent.targetChanged()
public void targetReasserted()
UMLUserInterfaceComponent
targetReasserted
in interface UMLUserInterfaceComponent
UMLUserInterfaceComponent.targetReasserted()
public void propertySet(ru.novosoft.uml.MElementEvent e)
propertySet
in interface ru.novosoft.uml.MElementListener
MElementListener.propertySet(ru.novosoft.uml.MElementEvent)
public void roleAdded(ru.novosoft.uml.MElementEvent e)
roleAdded
in interface ru.novosoft.uml.MElementListener
MElementListener.roleAdded(ru.novosoft.uml.MElementEvent)
public void roleRemoved(ru.novosoft.uml.MElementEvent e)
roleRemoved
in interface ru.novosoft.uml.MElementListener
MElementListener.roleRemoved(ru.novosoft.uml.MElementEvent)
public void listRoleItemSet(ru.novosoft.uml.MElementEvent e)
listRoleItemSet
in interface ru.novosoft.uml.MElementListener
MElementListener.listRoleItemSet(ru.novosoft.uml.MElementEvent)
public void removed(ru.novosoft.uml.MElementEvent e)
removed
in interface ru.novosoft.uml.MElementListener
MElementListener.removed(ru.novosoft.uml.MElementEvent)
public void recovered(ru.novosoft.uml.MElementEvent e)
recovered
in interface ru.novosoft.uml.MElementListener
MElementListener.recovered(ru.novosoft.uml.MElementEvent)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public UMLUserInterfaceContainer getContainer()
public java.lang.Object getTarget()
public void setContainer(UMLUserInterfaceContainer container)
container
- The container to setpublic void setTarget(java.lang.Object target)
target
- The target to setpublic abstract void buildModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML (c) 1996-2002 |