|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Stretchable
The
interface is used to indicate that a
Stretchable
should "stretch" itself to use all left over
space inside a parent component.
Component
By default most component try to minimize the space they use, but components that implement this interface can be made to maximize the space they use.
Field Summary | |
---|---|
static String |
PROPERTY_HEIGHT_STRETCHED
|
static String |
PROPERTY_MAXIMUM_STRETCHED_HEIGHT
|
static String |
PROPERTY_MINIMUM_STRETCHED_HEIGHT
|
Method Summary | |
---|---|
Extent |
getMaximumStretchedHeight()
|
Extent |
getMinimumStretchedHeight()
|
boolean |
isHeightStretched()
|
void |
setHeightStretched(boolean newValue)
Set to true if the height should be stretched to use all available space of its parent. |
void |
setMaximumStretchedHeight(Extent newValue)
Sets the maximum height that the component should stretch itself up to in pixels. |
void |
setMinimumStretchedHeight(Extent newValue)
Sets the minimum height that the component should stretch itself down to in pixels. |
Methods inherited from interface echopoint.able.Delegateable |
---|
getRenderProperty, getRenderProperty |
Field Detail |
---|
static final String PROPERTY_HEIGHT_STRETCHED
static final String PROPERTY_MINIMUM_STRETCHED_HEIGHT
static final String PROPERTY_MAXIMUM_STRETCHED_HEIGHT
Method Detail |
---|
boolean isHeightStretched()
void setHeightStretched(boolean newValue)
newValue
- -
a boolean flag indicating whether the height should be
stretched to use all available space of its parent or not.Extent getMinimumStretchedHeight()
void setMinimumStretchedHeight(Extent newValue)
newValue
- -
a new Extent value that MUST be in pixel units.Extent getMaximumStretchedHeight()
void setMaximumStretchedHeight(Extent newValue)
newValue
- -
a new Extent value that MUST be in pixel units.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |