|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExpandableDecoration
Size of view implementing this interface can be expanded by
DecoratedView instance inside which the view persists.
Usually DecoratedView keeps side views (decorations) at their
preferred sizes. If view implements ExpandableDecoration
interface, returns true from the
isHorizontallyExpandable method and is added to
DecoratedView's top or bottom, its width will be expanded to
maximum space available.
The same with height of view - if true is returned from the
isVerticallyExpandable method and view is added to
DecoratedView's left or right, its height will be expanded to
maximum space available.
Intended to be implemented by classes already implementing
lt.monarch.chart.View interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHorizontallyExpandable()
Should return true if width of this view, when persisting in
top or bottom position inside DecoratedView,
should be expanded to maximum space available. |
boolean |
isVerticallyExpandable()
Should return true if height of this view, when persisting in
left or right position inside DecoratedView,
should be expanded to maximum space available. |
| Method Detail |
|---|
boolean isHorizontallyExpandable()
true if width of this view, when persisting in
top or bottom position inside DecoratedView,
should be expanded to maximum space available.
true if view's width should be expanded to maximum,
false other wise.boolean isVerticallyExpandable()
true if height of this view, when persisting in
left or right position inside DecoratedView,
should be expanded to maximum space available.
true if view's height should be expanded to maximum,
false other wise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||