|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SingleTabDecider
Decides for Dockables whether there should be a single tab
shown for them.
| Field Summary | |
|---|---|
static SingleTabDecider |
ALLWAYS
Deprecated. please use ALWAYS instead |
static SingleTabDecider |
ALWAYS
this decider shows a tab, unless the element is a station itself or on a StackDockStation |
static SingleTabDecider |
NONE
this decider never shows a tab |
static PropertyKey<SingleTabDecider> |
SINGLE_TAB_DECIDER
Key for the DockProperties |
| Method Summary | |
|---|---|
void |
addSingleTabDeciderListener(SingleTabDeciderListener listener)
Adds a listener to this decider, the listener is to be informed if the single tab property of a Dockable changes. |
void |
removeSingleTabDeciderListener(SingleTabDeciderListener listener)
Removes a listener from this decider. |
boolean |
showSingleTab(DockStation station,
Dockable dockable)
Decides whether to show a single tab for dockable |
| Field Detail |
|---|
static final SingleTabDecider NONE
static final SingleTabDecider ALWAYS
StackDockStation
@Deprecated
@Todo(target=VERSION_1_1_3,
priority=MINOR,
compatibility=BREAK_MINOR,
description="remove this constant without replacement")
static final SingleTabDecider ALLWAYS
ALWAYS insteadStackDockStation
static final PropertyKey<SingleTabDecider> SINGLE_TAB_DECIDER
DockProperties
| Method Detail |
|---|
boolean showSingleTab(DockStation station,
Dockable dockable)
dockable
station - the parent of dockabledockable - the element for which a single tab might be shown
true if a tab should be shown, false
if notvoid addSingleTabDeciderListener(SingleTabDeciderListener listener)
Dockable changes.
listener - the new listenervoid removeSingleTabDeciderListener(SingleTabDeciderListener listener)
listener - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||