org.argouml.ui
Interface TabTarget

All Superinterfaces:
EventListener, TargetListener
All Known Subinterfaces:
TabFigTarget, TabModelTarget
All Known Implementing Classes:
PropPanel, PropPanelString, StylePanel, TabChecklist, TabConstraints, TabDiagram, TabProps, TabStyle, TabTaggedValues, TabText

public interface TabTarget
extends TargetListener

An interface for JPanels that are in the DetailsPane, and that change target based on the selections made in the gui/views.

Since:
0.13.4

Method Summary
 Object getTarget()
          get the current target
 void refresh()
          Refreshes the tab IN TOTAL
 void setTarget(Object target)
          set the target
 boolean shouldBeEnabled(Object target)
          Returns true if the tab should be enabled with the given target
 
Methods inherited from interface org.argouml.ui.targetmanager.TargetListener
targetAdded, targetRemoved, targetSet
 

Method Detail

setTarget

public void setTarget(Object target)
set the target

Parameters:
target - the target to set

getTarget

public Object getTarget()
get the current target

Returns:
the target

refresh

public void refresh()
Refreshes the tab IN TOTAL


shouldBeEnabled

public boolean shouldBeEnabled(Object target)
Returns true if the tab should be enabled with the given target

Parameters:
target - the given target
Returns:
true if the tab should be enabled


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook