|
|||||||||||
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.JPanel
org.argouml.ui.TabSpawnable
org.argouml.uml.ui.TabTaggedValues
Table view of a Model Element's Tagged Values.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
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 | |
private JToolBar |
buttonPanel
|
private static String |
DEFAULT_NAME
|
private static String |
DEFAULT_VALUE
|
private boolean |
shouldBeEnabled
|
private JTable |
table
|
private TableModelTaggedValues |
tableModel
|
private Object |
target
|
private JLabel |
titleLabel
|
Fields inherited from class org.argouml.ui.TabSpawnable |
|
Fields inherited from class javax.swing.JPanel |
|
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.Container |
|
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 | |
TabTaggedValues()
The constructor. |
Method Summary | |
protected JTable |
getTable()
|
protected TableModelTaggedValues |
getTableModel()
|
Object |
getTarget()
get the current target |
void |
refresh()
Refreshes the tab IN TOTAL |
void |
resizeColumns()
Resize the columns. |
void |
setTarget(Object theTarget)
set the target |
boolean |
shouldBeEnabled(Object theTarget)
Returns true if the tab should be enabled with the given target |
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 org.argouml.ui.TabSpawnable |
clone, getOrientation, getTitle, setOrientation, setTitle, spawn |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String DEFAULT_NAME
private static final String DEFAULT_VALUE
private Object target
private TableModelTaggedValues tableModel
private boolean shouldBeEnabled
private JTable table
private JLabel titleLabel
private JToolBar buttonPanel
Constructor Detail |
public TabTaggedValues()
Method Detail |
public void resizeColumns()
public void setTarget(Object theTarget)
TabTarget
setTarget
in interface TabTarget
theTarget
- the target to setTabTarget.setTarget(java.lang.Object)
public Object getTarget()
TabTarget
getTarget
in interface TabTarget
TabTarget.getTarget()
public void refresh()
TabTarget
refresh
in interface TabTarget
TabTarget.refresh()
public boolean shouldBeEnabled(Object theTarget)
TabTarget
shouldBeEnabled
in interface TabTarget
theTarget
- the given target
TabTarget.shouldBeEnabled(java.lang.Object)
public void targetAdded(TargetEvent e)
TargetListener
targetAdded
in interface TargetListener
e
- The targetevent, name will be TARGET_ADDEDTargetListener.targetAdded(
org.argouml.ui.targetmanager.TargetEvent)
public void targetRemoved(TargetEvent e)
TargetListener
targetRemoved
in interface TargetListener
e
- The targetevent, name will be TARGET_REMOVEDTargetListener.targetRemoved(
org.argouml.ui.targetmanager.TargetEvent)
public void targetSet(TargetEvent e)
TargetListener
targetSet
in interface TargetListener
e
- The targetevent, name will be TARGET_SETTargetListener.targetSet(
org.argouml.ui.targetmanager.TargetEvent)
protected TableModelTaggedValues getTableModel()
protected JTable getTable()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |