public class DetailModel extends java.lang.Object implements PropertyChangeNotifier
Modifier and Type | Field and Description |
---|---|
static int |
CONSOLE_TAB |
static int |
LOG_TAB |
static int |
PROPERTIES_TAB |
static java.lang.String |
SELECTED_CONTEXT_PROPERTY |
static int |
STATE_TAB |
static java.lang.String |
TAB_SELECTED_PROPERTY |
Constructor and Description |
---|
DetailModel() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.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.
|
java.lang.Object |
getSelectedJob()
Get the selected job.
|
java.util.Observable |
getStateModel()
Get the state model.
|
int |
getTabSelected()
Get the selected detail tab.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a Listener.
|
void |
setSelectedContext(ExplorerContext newContext) |
void |
setTabSelected(int tabSelected)
Set currently selected tab.
|
public static final java.lang.String SELECTED_CONTEXT_PROPERTY
public static final java.lang.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
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 java.lang.Object getSelectedJob()
public java.util.Observable getStateModel()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChangeNotifier
addPropertyChangeListener
in interface PropertyChangeNotifier
listener
- The listener.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChangeNotifier
removePropertyChangeListener
in interface PropertyChangeNotifier
listener
- The listener.