public static interface FlyoutPaletteComposite.FlyoutPreferences
Modifier and Type | Method and Description |
---|---|
int |
getDockLocation()
Should return
PositionConstants.EAST or
PositionConstants.WEST . |
int |
getPaletteState()
When there is no saved state, this method can return any non-positive
int (which will result in the palette using the default state --
collapsed), or
FlyoutPaletteComposite.STATE_COLLAPSED , or
FlyoutPaletteComposite.STATE_PINNED_OPEN |
int |
getPaletteWidth()
When there is no saved width, this method can return any int
(preferrably a non-positive int).
|
void |
setDockLocation(int location)
This method is invoked when the flyout palette's dock location is
changed.
|
void |
setPaletteState(int state)
This method is invoked when the flyout palette's state is changed
(the new state becomes the default).
|
void |
setPaletteWidth(int width)
This method is invoked when the flyout palette is resized.
|
int getDockLocation()
PositionConstants.EAST
or
PositionConstants.WEST
. Any other int will be ignored and the
default dock location (EAST) will be used instead.int getPaletteState()
FlyoutPaletteComposite.STATE_COLLAPSED
, or
FlyoutPaletteComposite.STATE_PINNED_OPEN
int getPaletteWidth()
void setDockLocation(int location)
getDockLocation()
.location
- PositionConstants.EAST
or
PositionConstants.WEST
void setPaletteState(int state)
getPaletteState()
.state
- FlyoutPaletteComposite.STATE_COLLAPSED
or
FlyoutPaletteComposite.STATE_PINNED_OPEN
void setPaletteWidth(int width)
getPaletteWidth()
.width
- the new size of the flyout paletteCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.