|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.monitor.model.DetailModel
public class DetailModel
Model for controlling the detail views.
Field Summary | |
---|---|
static int |
CONSOLE_TAB
|
static int |
LOG_TAB
|
static int |
PROPERTIES_TAB
|
static String |
SELECTED_CONTEXT_PROPERTY
|
static int |
STATE_TAB
|
static String |
TAB_SELECTED_PROPERTY
|
Constructor Summary | |
---|---|
DetailModel()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a Listener. |
LogModel |
getConsoleModel()
Get the model for the Console panel. |
LogModel |
getLogModel()
Get the model for the Log panel. |
PropertyModel |
getPropertyModel()
Get the model for the Property panel. |
Object |
getSelectedJob()
Get the selected job. |
Observable |
getStateModel()
Get the state model. |
int |
getTabSelected()
Get the selected detail tab. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a Listener. |
void |
setSelectedContext(ExplorerContext newContext)
|
void |
setTabSelected(int tabSelected)
Set currently selected tab. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SELECTED_CONTEXT_PROPERTY
public static final String TAB_SELECTED_PROPERTY
public static final int STATE_TAB
public static final int CONSOLE_TAB
public static final int LOG_TAB
public static final int PROPERTIES_TAB
Constructor Detail |
---|
public DetailModel()
Method Detail |
---|
public LogModel getConsoleModel()
public LogModel getLogModel()
public PropertyModel getPropertyModel()
public void setTabSelected(int tabSelected)
tabSelected
- The tab number.public int getTabSelected()
public void setSelectedContext(ExplorerContext newContext)
public Object getSelectedJob()
public Observable getStateModel()
public void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeNotifier
addPropertyChangeListener
in interface PropertyChangeNotifier
listener
- The listener.public void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangeNotifier
removePropertyChangeListener
in interface PropertyChangeNotifier
listener
- The listener.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |