|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox
org.argouml.uml.ui.UMLComboBox2
ComboBox for UML modelelements.
This implementation does not use reflection and seperates Model, View and Controller better then does UMLComboBox. The ancient UMLComboBoxModel and UMLComboBox are replaced with this implementation to improve performance.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JComboBox |
JComboBox.AccessibleJComboBox, JComboBox.KeySelectionManager |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class javax.swing.JComboBox |
actionCommand, dataModel, editor, isEditable, keySelectionManager, lightWeightPopupEnabled, maximumRowCount, renderer, selectedItemReminder |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
protected |
UMLComboBox2(UMLComboBoxModel2 arg0)
Deprecated. As of ArgoUml version unknown (before 0.13.5), replaced by UMLComboBox2(UMLComboBoxModel2, Action, boolean) |
|
UMLComboBox2(UMLComboBoxModel2 arg0,
Action action)
The constructor. |
|
UMLComboBox2(UMLComboBoxModel2 arg0,
Action action,
boolean showIcon)
Constructor for UMLComboBox2. |
| Method Summary | |
void |
actionPerformed(ActionEvent arg0)
|
protected void |
doIt(ActionEvent event)
The 'body' of the actionPerformed method. |
Object |
getTarget()
Utility method to get the current target. |
TargetListener |
getTargettableModel()
Returns the Swing model that implements targetlistener. |
void |
targetAdded(TargetEvent e)
Fired when a target is added to the list of targets. |
void |
targetRemoved(TargetEvent e)
Fired when a target is removed from the list of targets |
void |
targetSet(TargetEvent e)
Fired when a total new set of targets is set |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected UMLComboBox2(UMLComboBoxModel2 arg0)
UMLComboBox2(UMLComboBoxModel2, Action, boolean)
arg0 - the ComboBoxModel
public UMLComboBox2(UMLComboBoxModel2 arg0,
Action action,
boolean showIcon)
arg0 - the ComboBoxModelaction - the actionshowIcon - true if an icon should be shown in front of the items
public UMLComboBox2(UMLComboBoxModel2 arg0,
Action action)
arg0 - the ComboBoxModelaction - the action| Method Detail |
public void actionPerformed(ActionEvent arg0)
actionPerformed in interface ActionListenerActionListener.actionPerformed(ActionEvent)protected void doIt(ActionEvent event)
event - the eventpublic Object getTarget()
public TargetListener getTargettableModel()
TargettableModelView
getTargettableModel in interface TargettableModelViewTargettableModelView.getTargettableModel()public void targetAdded(TargetEvent e)
TargetListener
targetAdded in interface TargetListenere - The targetevent, name will be TARGET_ADDEDTargetListener.targetAdded(org.argouml.ui.targetmanager.TargetEvent)public void targetRemoved(TargetEvent e)
TargetListener
targetRemoved in interface TargetListenere - The targetevent, name will be TARGET_REMOVEDTargetListener.targetRemoved(org.argouml.ui.targetmanager.TargetEvent)public void targetSet(TargetEvent e)
TargetListener
targetSet in interface TargetListenere - The targetevent, name will be TARGET_SETTargetListener.targetSet(org.argouml.ui.targetmanager.TargetEvent)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |