|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.appframe.docview.IlvAbstractStaticViewContainer
ilog.views.appframe.swing.IlvDefaultStaticViewContainer
public class IlvDefaultStaticViewContainer
The default implementation for Swing static view containers.
| Field Summary |
|---|
| Fields inherited from interface ilog.views.appframe.docview.IlvViewContainer |
|---|
ACTIVE_VIEW_PROPERTY, APPLICATION_PROPERTY, CONFIGURATION_NAME_PROPERTY, CONTAINER_TEMPLATE_PROPERTY, DOCUMENT_PROPERTY, DOCUMENT_TEMPLATE_PROPERTY, DOCUMENT_VIEWS_PROPERTY, VISIBILITY_PROPERTY |
| Constructor Summary | |
|---|---|
IlvDefaultStaticViewContainer(Container container)
Constructs a new IlvDefaultStaticViewContainer associated
with the specified container. |
|
IlvDefaultStaticViewContainer(Container container,
IlvDocumentView view)
Constructs a new IlvDefaultStaticViewContainer associated
with the specified component and that contains the
specified view. |
|
| Method Summary | |
|---|---|
void |
activate()
Sets the container active. |
protected IlvDocumentView[] |
findViews()
Invoked by the IlvAbstractStaticViewContainer.getViews() method to retrieve the document views
contained by this view container. |
Container |
getContainer()
Returns the container associated with this static view container. |
boolean |
isContainerVisible()
Determines whether this view container is visible. |
void |
setContainer(Container container)
Sets the container associated with this static view container. |
void |
setContainerVisible(boolean visible)
Shows or hides this view container, depending on the value of the visible parameter. |
| Methods inherited from class ilog.views.appframe.docview.IlvAbstractStaticViewContainer |
|---|
actionPerformed, addActionHandler, addPropertyChangeListener, getProperty, getViews, isProcessingAction, removeActionHandler, removePropertyChangeListener, setProperty, updateAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvDefaultStaticViewContainer(Container container)
IlvDefaultStaticViewContainer associated
with the specified container.
public IlvDefaultStaticViewContainer(Container container,
IlvDocumentView view)
IlvDefaultStaticViewContainer associated
with the specified component and that contains the
specified view.
container - The container.view - The document view contained by this view container.| Method Detail |
|---|
public Container getContainer()
setContainer(java.awt.Container)public void setContainer(Container container)
container - The new view container of this view container.getContainer()public boolean isContainerVisible()
isContainerVisible in interface IlvViewContainerisContainerVisible in class IlvAbstractStaticViewContainertrue if the container associated with this view
container is visible; false
otherwise.setContainerVisible(boolean)public void setContainerVisible(boolean visible)
visible parameter. The container associated with this view
container is set visible or invisible depending on the value of the
visible parameter.
setContainerVisible in interface IlvViewContainersetContainerVisible in class IlvAbstractStaticViewContainervisible - If true, the view container will be shown; if
false, the view container will be hidden.isContainerVisible()protected IlvDocumentView[] findViews()
IlvAbstractStaticViewContainer.getViews() method to retrieve the document views
contained by this view container. This method is only invoked the first
time the IlvAbstractStaticViewContainer.getViews() is invoked. The views returned by this method
are then stored and returned the next time the IlvAbstractStaticViewContainer.getViews() method
is called. This method returns all the components that implement the
IlvDocumentView interface in the
hierarchy of components contained by the container associated with this
object.
findViews in class IlvAbstractStaticViewContainersetContainer(java.awt.Container)public void activate()
activate in interface IlvViewContaineractivate in class IlvAbstractStaticViewContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||