public interface IlvViewContainer extends ActionHandler, IlvPropertyManager
IlvMDIContainerTemplate
.IlvMainWindow.registerStaticContainer(java.lang.String, ilog.views.appframe.docview.IlvViewContainer)
.Processing action events
The IlvViewContainer
class implements the
ActionHandler
interface for processing
action events triggered by the application.
When a document view becomes active in the application, its view container
is also activated. The active view is registered with the application as a
new action handler, as is the view container, but with a lower priority.
Action updates or events that are not processed by the active view can be
processed by the view container. When the view container is deactivated,
it is removed from the list of action handlers of the application.
An implementation of the IlvDocument
interface can handle
action events in the implementation of the methods:
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE_VIEW_PROPERTY
Bound property name for the active view of the container.
|
static String |
APPLICATION_PROPERTY
Bound property name for the application of the view container.
|
static String |
CONFIGURATION_NAME_PROPERTY
Bound property name for the name of the configuration that creates the view container.
|
static String |
CONTAINER_TEMPLATE_PROPERTY
Bound property name for the container template of the view container.
|
static String |
DOCUMENT_PROPERTY
Bound property name for the document of the view container.
|
static String |
DOCUMENT_TEMPLATE_PROPERTY
Bound property name for the document template associated with the document.
|
static String |
DOCUMENT_VIEWS_PROPERTY
Bound property name for the views contained within the view container.
|
static String |
VISIBILITY_PROPERTY
Bound property name for the visibility of the view container.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Sets the container active.
|
IlvDocumentView[] |
getViews()
Returns the document views of this container.
|
boolean |
isContainerVisible()
Determines whether this view container is visible.
|
void |
setContainerVisible(boolean visible)
Shows or hides this view container depending on the value of the
visible parameter. |
isProcessingAction, updateAction
actionPerformed
addPropertyChangeListener, getProperty, removePropertyChangeListener, setProperty
static final String DOCUMENT_TEMPLATE_PROPERTY
static final String APPLICATION_PROPERTY
static final String DOCUMENT_PROPERTY
static final String CONFIGURATION_NAME_PROPERTY
static final String DOCUMENT_VIEWS_PROPERTY
IlvDocumentView[]
.static final String ACTIVE_VIEW_PROPERTY
Boolean.TRUE
, the
container will be active. Otherwise, the container is not active.static final String CONTAINER_TEMPLATE_PROPERTY
static final String VISIBILITY_PROPERTY
Boolean.TRUE
if the view
container is visible; Boolean.FALSE
otherwise.IlvDocumentView[] getViews()
void activate()
boolean isContainerVisible()
true
if the container is visible; false
otherwise.setContainerVisible(boolean)
void setContainerVisible(boolean visible)
visible
parameter.visible
- if true
the view container is shown; if
false
the view container is hidden.isContainerVisible()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.