|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
echopoint.ComponentEx
echopoint.AbleComponent
echopoint.ContainerEx
public class ContainerEx
ContainerEx is a component that can be positioned anywhere on the screen with an specified size attributes. By default, the children of ContainerEx are layed out one after the other, left to right and without any other specified processing. Therefore to get more precise layout within the ContainerEx, you may want to consider using a Column/Row/Grid as the child of this component or you can associated a DisplayLayoutData object with each child component and use that to position the children where you want. This component is a PaneContainer and hence can have components that implement Pane as a child. However many Panes, such as SplitPane, require a definite height to be set in order to work properly. So make sure you call setHeight() if one of the children implements Pane
Modified by Hans Holmlund 2009-04-20
| Field Summary | |
|---|---|
static int |
COLUMN_LAYOUT
|
static int |
DEFAULT_LAYOUT
|
static String |
PROPERTY_HORIZONTAL_SCROLL
|
static String |
PROPERTY_LAYOUT_STYLE
|
static String |
PROPERTY_VERTICAL_SCROLL
|
static int |
ROW_LAYOUT
|
| Fields inherited from class echopoint.ComponentEx |
|---|
PROPERTY_HIDDEN |
| Fields inherited from interface echopoint.able.Alignable |
|---|
PROPERTY_ALIGNMENT |
| Fields inherited from interface echopoint.able.Positionable |
|---|
ABSOLUTE, FIXED, PROPERTY_BOTTOM, PROPERTY_LEFT, PROPERTY_POSITION, PROPERTY_RIGHT, PROPERTY_TOP, PROPERTY_Z_INDEX, RELATIVE, STATIC |
| Fields inherited from interface echopoint.able.Scrollable |
|---|
ALWAYS, AUTO, CLIPHIDE, NEVER, PROPERTY_SCROLL_BAR_BASE_COLOR, PROPERTY_SCROLL_BAR_POLICY, PROPERTY_SCROLL_BAR_PROPERTIES, UNDEFINED |
| Fields inherited from interface echopoint.able.Widthable |
|---|
PROPERTY_WIDTH |
| Fields inherited from interface echopoint.able.Heightable |
|---|
PROPERTY_HEIGHT |
| Fields inherited from interface echopoint.able.BackgroundImageable |
|---|
PROPERTY_BACKGROUND_IMAGE |
| Fields inherited from interface echopoint.able.Stretchable |
|---|
PROPERTY_HEIGHT_STRETCHED, PROPERTY_MAXIMUM_STRETCHED_HEIGHT, PROPERTY_MINIMUM_STRETCHED_HEIGHT |
| Fields inherited from interface echopoint.able.AccessKeyable |
|---|
PROPERTY_ACCESS_KEY |
| Fields inherited from interface echopoint.able.Borderable |
|---|
PROPERTY_BORDER |
| Fields inherited from interface echopoint.able.MouseCursorable |
|---|
CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, PROPERTY_MOUSE_CURSOR, PROPERTY_MOUSE_CURSOR_URI |
| Fields inherited from interface echopoint.able.Insetable |
|---|
DEFAULT_INSETS, DEFAULT_OUTSETS, PROPERTY_INSETS, PROPERTY_OUTSETS |
| Fields inherited from interface echopoint.able.ToolTipable |
|---|
PROPERTY_TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
ContainerEx()
Creates a new ContentPane. |
|
| Method Summary | |
|---|---|
void |
clear()
This sets all the positioning attributes (left,top,right,bottom,z-index) to null or zero. |
Alignment |
getAlignment()
Returns the alignment of the container. |
FillImage |
getBackgroundImage()
Returns the background image. |
Border |
getBorder()
Returns the Border that encloses the entire Clock. |
Extent |
getBottom()
Returns the bottom Y position of the component |
Extent |
getHeight()
Returns the height extent of container. |
Extent |
getHorizontalScroll()
Returns the horizontal scrollbar position. |
Insets |
getInsets()
Returns the inset margin of the content. |
int |
getLayoutStyle()
|
Extent |
getLeft()
Returns the left X position of the component |
Extent |
getMaximumStretchedHeight()
|
Extent |
getMinimumStretchedHeight()
|
Insets |
getOutsets()
|
int |
getPosition()
This can be one of : POSITIONING_STATIC POSITIONING_RELATIVE POSITIONING_ABSOLUTE POSITIONING_FIXED |
Extent |
getRight()
Returns the right X position of the component |
Color |
getScrollBarBaseColor()
todo Returns the base color of the ScrollBarProperties associated with this Scrollable |
int |
getScrollBarPolicy()
Returns the ScrollBarPolicy in place This can be one of : NONE ALWAYS AUTO CLIPHIDE |
ScrollBarProperties |
getScrollBarProperties()
todo Returns the ScrollBarProperties associated with this Scrollable |
Extent |
getTop()
Returns the top Y position of the component |
Extent |
getVerticalScroll()
Returns the vertical scrollbar position. |
Extent |
getWidth()
Returns the width extent of the container. |
int |
getZIndex()
Returns the z-index of the component |
boolean |
isHeightStretched()
|
boolean |
isPositioned()
This returns true if any positioning is in place other than normal flow ie. |
void |
processInput(String inputName,
Object inputValue)
|
void |
setAlignment(Alignment newValue)
Sets the alignment of the container. |
void |
setBackgroundImage(FillImage newValue)
Sets the background image. |
void |
setBorder(Border newValue)
Sets the Border that encloses the entire Clock. |
void |
setBottom(Extent newValue)
Sets the bottom Y position of the component |
void |
setHeight(Extent newValue)
Sets the height extent of the container. |
void |
setHeightStretched(boolean newValue)
Set to true if the height should be stretched to use all available space of its parent. |
void |
setHorizontalScroll(Extent newValue)
Sets the horizontal scrollbar position. |
void |
setInsets(Insets newValue)
Sets the inset margin of the content. |
void |
setLayoutStyle(int layoutStyle)
|
void |
setLeft(Extent newValue)
Set the left X position of the component |
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. |
void |
setOutsets(Insets newValue)
Sets the Outsets in play. |
void |
setPosition(int newPositioning)
Sets the position of the component This can be one of : POSITIONING_STATIC POSITIONING_RELATIVE POSITIONING_ABSOLUTE POSITIONING_FIXED |
void |
setRight(Extent newValue)
Sets the right X position of the component |
void |
setScrollBarBaseColor(Color newValue)
todo Sets the base color of the ScrollBarProperties associated with this Scrollable. |
void |
setScrollBarPolicy(int newScrollBarPolicy)
Sets the scroll bar policy of the component This can be one of : SCOLLBARS_NONE SCOLLBARS_ALWAYS SCOLLBARS_AUTO CLIPHIDE |
void |
setScrollBarProperties(ScrollBarProperties newValue)
todo Sets the ScrollBarProperties associated with this Scrollable |
void |
setTop(Extent newValue)
Sets the top Y position of the component |
void |
setVerticalScroll(Extent newValue)
Sets the vertical scrollbar position. |
void |
setWidth(Extent newValue)
Sets the width extent of the container. |
void |
setZIndex(int newValue)
Sets the z-index of the component |
| Methods inherited from class echopoint.AbleComponent |
|---|
getAccessKey, getMouseCursor, getMouseCursorUri, getToolTipText, setAccessKey, setMouseCursor, setMouseCursorUri, setToolTipText |
| Methods inherited from class echopoint.ComponentEx |
|---|
get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getAttribute, getAttributeNames, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, getRenderProperty, isHidden, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setAttribute, setHidden |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface echopoint.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Field Detail |
|---|
public static final String PROPERTY_HORIZONTAL_SCROLL
public static final String PROPERTY_VERTICAL_SCROLL
public static final String PROPERTY_LAYOUT_STYLE
public static final int DEFAULT_LAYOUT
public static final int COLUMN_LAYOUT
public static final int ROW_LAYOUT
| Constructor Detail |
|---|
public ContainerEx()
ContentPane.
| Method Detail |
|---|
public void clear()
clear in interface Positionablepublic Extent getBottom()
getBottom in interface Positionablepublic Extent getLeft()
getLeft in interface Positionablepublic int getPosition()
getPosition in interface Positionablepublic Extent getRight()
getRight in interface Positionablepublic Extent getTop()
getTop in interface Positionablepublic int getZIndex()
getZIndex in interface Positionablepublic boolean isPositioned()
isPositioned in interface Positionablepublic void setBottom(Extent newValue)
setBottom in interface Positionablepublic void setLeft(Extent newValue)
setLeft in interface Positionablepublic void setPosition(int newPositioning)
setPosition in interface Positionablepublic void setRight(Extent newValue)
setRight in interface Positionablepublic void setTop(Extent newValue)
setTop in interface Positionablepublic void setZIndex(int newValue)
setZIndex in interface Positionablepublic Border getBorder()
Border that encloses the entire Clock.
getBorder in interface BorderablegetBorder in class AbleComponentBorderable.getBorder()public void setBorder(Border newValue)
Border that encloses the entire Clock.
setBorder in interface BorderablesetBorder in class AbleComponentnewValue - the new borderBorderable.setBorder(nextapp.echo.app.Border)public FillImage getBackgroundImage()
getBackgroundImage in interface BackgroundImageablepublic Extent getHorizontalScroll()
public Insets getInsets()
FloatingPanes, such as
WindowPanes, will NOT be constrained by
this margin.
Values may only be specified in pixel-based units.
getInsets in interface InsetablegetInsets in class AbleComponentInsetable.getInsets()public Extent getVerticalScroll()
public void processInput(String inputName,
Object inputValue)
processInput in class ComponentComponent.processInput(java.lang.String, java.lang.Object)public void setBackgroundImage(FillImage newValue)
setBackgroundImage in interface BackgroundImageablenewValue - the new background imagepublic void setHorizontalScroll(Extent newValue)
newValue - the new horizontal scrollbar positionpublic void setInsets(Insets newValue)
FloatingPanes, such as
WindowPanes, will NOT be constrained by
this margin.
Values may only be specified in pixel-based units.
setInsets in interface InsetablesetInsets in class AbleComponentnewValue - the new inset marginInsetable.setInsets(nextapp.echo.app.Insets)public void setVerticalScroll(Extent newValue)
newValue - the new vertical scrollbar positionpublic Extent getHeight()
getHeight in interface HeightablegetHeight in class AbleComponentHeightable.getHeight()public Insets getOutsets()
getOutsets in interface InsetablegetOutsets in class AbleComponentInsetable.getOutsets()public Extent getWidth()
getWidth in interface WidthablegetWidth in class AbleComponentWidthable.getWidth()public void setHeight(Extent newValue)
setHeight in interface HeightablesetHeight in class AbleComponentnewValue - - the new height extent of the containerHeightable.setHeight(nextapp.echo.app.Extent)public void setOutsets(Insets newValue)
setOutsets in interface InsetablesetOutsets in class AbleComponentnewValue - - the Ousets to useInsetable.setOutsets(nextapp.echo.app.Insets)public void setWidth(Extent newValue)
setWidth in interface WidthablesetWidth in class AbleComponentnewValue - - the new width extent of the containerWidthable.setWidth(nextapp.echo.app.Extent)public int getScrollBarPolicy()
getScrollBarPolicy in interface Scrollablepublic Color getScrollBarBaseColor()
Scrollable
getScrollBarBaseColor in interface ScrollableScrollablepublic ScrollBarProperties getScrollBarProperties()
Scrollable
getScrollBarProperties in interface ScrollableScrollablepublic void setScrollBarPolicy(int newScrollBarPolicy)
setScrollBarPolicy in interface Scrollablepublic void setScrollBarBaseColor(Color newValue)
Scrollable.
If no ScrollBarProperties is available, then a new one should be created.
setScrollBarBaseColor in interface ScrollablenewValue - - the new base color of ScrollBarProperties to usepublic void setScrollBarProperties(ScrollBarProperties newValue)
Scrollable
setScrollBarProperties in interface ScrollablenewValue - - the new ScrollBarProperties to usepublic boolean isHeightStretched()
isHeightStretched in interface Stretchablepublic void setHeightStretched(boolean newValue)
setHeightStretched in interface StretchablenewValue - -
a boolean flag indicating whether the height should be
stretched to use all available space of its parent or not.public Extent getMinimumStretchedHeight()
getMinimumStretchedHeight in interface Stretchablepublic void setMinimumStretchedHeight(Extent newValue)
setMinimumStretchedHeight in interface StretchablenewValue - -
a new Extent value that MUST be in pixel units.public Extent getMaximumStretchedHeight()
getMaximumStretchedHeight in interface Stretchablepublic void setMaximumStretchedHeight(Extent newValue)
setMaximumStretchedHeight in interface StretchablenewValue - -
a new Extent value that MUST be in pixel units.public int getLayoutStyle()
public void setLayoutStyle(int layoutStyle)
public Alignment getAlignment()
getAlignment in interface Alignablepublic void setAlignment(Alignment newValue)
setAlignment in interface AlignablenewValue - the new alignment
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||