|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrientationToRotationStrategy
Converter for telling the framework how to render text given the orientation of a DockTitle
.
Field Summary | |
---|---|
static OrientationToRotationStrategy |
DEFAULT
Default implementation of OrientationToRotationStrategy |
Method Summary | |
---|---|
void |
addListener(OrientationToRotationStrategyListener listener)
Adds the listener listener to this strategy. |
Rotation |
convert(DockTitle.Orientation orientation,
DockTitle title)
Tells how to render the text of title . |
void |
install(DockTitle title)
Informs this strategy that from now on it will be used for title . |
void |
removeListener(OrientationToRotationStrategyListener listener)
Removes listener from this strategy. |
void |
uninstall(DockTitle title)
Informs this strategy that from now on it will not be used for title . |
Field Detail |
---|
static final OrientationToRotationStrategy DEFAULT
OrientationToRotationStrategy
Method Detail |
---|
Rotation convert(DockTitle.Orientation orientation, DockTitle title)
title
.
orientation
- the orientation that is or will be used by title
.title
- the title whose text gets rendered
title
, not null
void install(DockTitle title)
title
.
title
- the title that uses this strategyvoid uninstall(DockTitle title)
title
.
title
- the title that was using this strategyvoid addListener(OrientationToRotationStrategyListener listener)
listener
to this strategy.
listener
- a new listener, not null
void removeListener(OrientationToRotationStrategyListener listener)
listener
from this strategy.
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |