|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabContentFilter
This interface tells a StackDockStation
or a StackDockComponent
how to fill the tabs
for its children. Note that if a StackDockStation
is using a StackDockComponent
, this
filter gets not informed about the existence of the StackDockComponent
. However some other
modules using a StackDockComponent
may decide to register them directly.
StackDockStation.TAB_CONTENT_FILTER
Method Summary | |
---|---|
void |
addListener(TabContentFilterListener listener)
Adds a listener to this filter. |
TabContent |
filter(TabContent content,
StackDockComponent component,
Dockable dockable)
Filters the contents of a tab. |
TabContent |
filter(TabContent content,
StackDockStation station,
Dockable dockable)
Filters the contents of a tab. |
void |
install(StackDockComponent component)
Informs this filter that it will be used by component . |
void |
install(StackDockStation station)
Informs this filter that it will be used by station . |
void |
removeListener(TabContentFilterListener listener)
Removes a listener from this filter. |
void |
uninstall(StackDockComponent component)
Informs this filter that it is no longer used by component . |
void |
uninstall(StackDockStation station)
Informs this filter that it is no longer used by station . |
Method Detail |
---|
void install(StackDockStation station)
station
.
station
- a new clientvoid install(StackDockComponent component)
component
. Note that this
method may not be called if the component
itself is used by a StackDockStation
.
component
- a new clientvoid uninstall(StackDockStation station)
station
.
station
- an old clientvoid uninstall(StackDockComponent component)
component
.
component
- the old componentvoid addListener(TabContentFilterListener listener)
listener
- the new listener, not null
void removeListener(TabContentFilterListener listener)
listener
- the listener to removeTabContent filter(TabContent content, StackDockStation station, Dockable dockable)
content
- the default content to use, not null
station
- the station which calls this methoddockable
- the element which is displayed
null
TabContent filter(TabContent content, StackDockComponent component, Dockable dockable)
content
- the default content to use, not null
component
- the component which calls this methoddockable
- the element which is displayed
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |