public class TLcyVerticalViewManager extends Object
ILcyVerticalViewManagerListener
s when vertical views
are added or removed.
Note that adding or removing vertical views is normally done by the TLcyVerticalViewAddOn
itself,
there is no need to add or remove vertical views manually. To create a new vertical view,
see TLcyVerticalViewAddOn.createAndAddVerticalViewComponent()
.
To fully dispose a vertical view, retrieve the ILcyApplicationPane
for its Component
using
ILcyLucyEnv.getUserInterfaceManager().getApplicationPaneManager()
, and call disposeApp()
.Constructor and Description |
---|
TLcyVerticalViewManager() |
Modifier and Type | Method and Description |
---|---|
void |
addVerticalViewComponent(Component aVerticalViewComponent)
Adds the given
Component to this TLcyVerticalViewManager . |
void |
addVerticalViewManagerListener(ILcyVerticalViewManagerListener aListener)
Adds the given
ILcyVerticalViewManagerListener to this manager which will be notified when
it changes. |
Component |
getVerticalViewComponent(int aIndex)
Returns the vertical view at the given index.
|
int |
getVerticalViewComponentCount()
Returns the number of vertical view components registered with this manager.
|
void |
removeVerticalViewComponent(Component aVerticalViewComponent)
Removes the given
Component from this TLcyVerticalViewManager . |
void |
removeVerticalViewManagerListener(ILcyVerticalViewManagerListener aListener)
Removes the given
ILcyVerticalViewManagerListener from this manager. |
public int getVerticalViewComponentCount()
public Component getVerticalViewComponent(int aIndex)
aIndex
- Specifies which vertical view is to be returned.public void addVerticalViewComponent(Component aVerticalViewComponent)
Component
to this TLcyVerticalViewManager
.
This method shouldn't normally be used, see class comment.aVerticalViewComponent
- The vertical view component to add.public void removeVerticalViewComponent(Component aVerticalViewComponent)
Component
from this TLcyVerticalViewManager
.
This method shouldn't normally be used, see class comment.aVerticalViewComponent
- The vertical view component to remove.public void addVerticalViewManagerListener(ILcyVerticalViewManagerListener aListener)
ILcyVerticalViewManagerListener
to this manager which will be notified when
it changes.aListener
- The listener to add.public void removeVerticalViewManagerListener(ILcyVerticalViewManagerListener aListener)
ILcyVerticalViewManagerListener
from this manager. It will no longer
be notified about changes to it.aListener
- The listener to remove.