public class ResourceViewContainer extends java.lang.Object implements SimpleMessageBus.MessageHandler
Modifier and Type | Class and Description |
---|---|
class |
ResourceViewContainer.BlinkTabTask |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGPROPERTY_RESVIEW_SELECTEDTABINDEX |
static java.lang.String |
TAB_NOTIFY_BLINK
Event that is handled by this View to notify the user to "notice" a tab
parameters, for the Event are, VIEWID as String, On/Off boolean flag to enable/disable "notice"
|
Constructor and Description |
---|
ResourceViewContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addResourceViewComponent(java.lang.String title,
java.awt.Component component,
javax.swing.Icon icon,
java.lang.String toolTip,
ResourceView resourceView) |
void |
applySelectedTab() |
void |
attachModel(AppletGanttModel model) |
void |
enableResourceView(java.lang.String viewName,
boolean flag)
Enables or disables the resource view.
|
java.awt.Component |
getResourceViewContainerComponent() |
int |
getSelectedIndex() |
ResourceView |
getSelectedResourceView() |
void |
handleMessage(java.lang.String msgId,
java.lang.Object... args)
handles a message/event from another control
|
public static final java.lang.String TAB_NOTIFY_BLINK
public static final java.lang.String CONFIGPROPERTY_RESVIEW_SELECTEDTABINDEX
public void addResourceViewComponent(java.lang.String title, java.awt.Component component, javax.swing.Icon icon, java.lang.String toolTip, ResourceView resourceView)
public void attachModel(AppletGanttModel model)
public void applySelectedTab()
public java.awt.Component getResourceViewContainerComponent()
public int getSelectedIndex()
public ResourceView getSelectedResourceView()
public void handleMessage(java.lang.String msgId, java.lang.Object... args)
handleMessage
in interface SimpleMessageBus.MessageHandler
msgId
- message/event idargs
- message/event parameterspublic void enableResourceView(java.lang.String viewName, boolean flag)
viewName
- flag
-