|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
echopointng.ComponentEx
echopointng.AbleComponent
echopointng.ContainerEx
public class ContainerEx
ContainerEx is a component that can be positioned anywhere on the screen
with an specified size attributes. It does this by implementing the Positionable
interface.
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.
DisplayLayoutData,
Serialized Form| Field Summary | |
|---|---|
static Style |
DEFAULT_STYLE
|
| Fields inherited from class echopointng.ComponentEx |
|---|
PROPERTY_HIDDEN |
| Fields inherited from interface echopointng.able.Positionable |
|---|
ABSOLUTE, FIXED, PROPERTY_BOTTOM, PROPERTY_LEFT, PROPERTY_POSITION, PROPERTY_RIGHT, PROPERTY_TOP, PROPERTY_ZINDEX, RELATIVE, STATIC |
| Fields inherited from interface echopointng.able.Scrollable |
|---|
ALWAYS, AUTO, CLIPHIDE, NEVER, PROPERTY_SCROLL_BAR_BASE_COLOR, PROPERTY_SCROLL_BAR_POLICY, PROPERTY_SCROLL_BAR_PROPERTIES, UNDEFINED |
| Fields inherited from interface echopointng.able.Widthable |
|---|
PROPERTY_WIDTH |
| Fields inherited from interface echopointng.able.Heightable |
|---|
PROPERTY_HEIGHT |
| Fields inherited from interface echopointng.able.AccessKeyable |
|---|
PROPERTY_ACCESS_KEY |
| Fields inherited from interface echopointng.able.Borderable |
|---|
PROPERTY_BORDER |
| Fields inherited from interface echopointng.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 echopointng.able.Insetable |
|---|
DEFAULT_INSETS, DEFAULT_OUTSETS, PROPERTY_INSETS, PROPERTY_OUTSETS |
| Fields inherited from interface echopointng.able.ToolTipable |
|---|
PROPERTY_TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
ContainerEx()
Constructs a ContainerEx |
|
ContainerEx(Component child)
Constructs a ContainerEx with the
specified component as its first child. |
|
| Method Summary | |
|---|---|
void |
clear()
This sets all the positioning attributes (left,top,right,bottom,z-index) to null or zero. |
Extent |
getBottom()
Returns the bottom Y position of the component |
Extent |
getLeft()
Returns the left X position of the component |
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()
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()
Returns the ScrollBarProperties associated with this Scrollable |
Extent |
getTop()
Returns the top Y position of the component |
int |
getZindex()
Returns the z-index of the component |
boolean |
isPositioned()
This returns true if any positioning is in place other than normal flow ie. |
void |
setBottom(Extent newValue)
Sets the bottom Y position of the component |
void |
setLeft(Extent newValue)
Set the left X position of the component |
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)
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)
Sets the ScrollBarProperties associated with this Scrollable |
void |
setTop(Extent newValue)
Sets the top Y position of the component |
void |
setZIndex(int newValue)
Sets the z-index of the component |
| Methods inherited from class echopointng.AbleComponent |
|---|
getAccessKey, getBorder, getHeight, getInsets, getMouseCursor, getMouseCursorURI, getOutsets, getToolTipText, getWidth, setAccessKey, setBorder, setHeight, setInsets, setMouseCursor, setMouseCursorURI, setOutsets, setToolTipText, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Widthable |
|---|
getWidth, setWidth |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Methods inherited from interface echopointng.able.Heightable |
|---|
getHeight, setHeight |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Field Detail |
|---|
public static final Style DEFAULT_STYLE
| Constructor Detail |
|---|
public ContainerEx()
ContainerEx
public ContainerEx(Component child)
ContainerEx with the
specified component as its first child.
| Method Detail |
|---|
public void clear()
Positionable
clear in interface PositionablePositionable.clear()public Extent getBottom()
Positionable
getBottom in interface PositionablePositionable.getBottom()public Extent getLeft()
Positionable
getLeft in interface PositionablePositionable.getLeft()public int getPosition()
Positionable
getPosition in interface PositionablePositionable.getPosition()public Extent getRight()
Positionable
getRight in interface PositionablePositionable.getRight()public Extent getTop()
Positionable
getTop in interface PositionablePositionable.getTop()public int getZindex()
Positionable
getZindex in interface PositionablePositionable.getZindex()public boolean isPositioned()
Positionable
isPositioned in interface PositionablePositionable.isPositioned()public void setBottom(Extent newValue)
Positionable
setBottom in interface PositionablePositionable.setBottom(nextapp.echo2.app.Extent)public void setLeft(Extent newValue)
Positionable
setLeft in interface PositionablePositionable.setLeft(nextapp.echo2.app.Extent)public void setPosition(int newPositioning)
Positionable
setPosition in interface PositionablePositionable.setPosition(int)public void setRight(Extent newValue)
Positionable
setRight in interface PositionablePositionable.setRight(nextapp.echo2.app.Extent)public void setTop(Extent newValue)
Positionable
setTop in interface PositionablePositionable.setTop(nextapp.echo2.app.Extent)public void setZIndex(int newValue)
Positionable
setZIndex in interface PositionablePositionable.setZIndex(int)public int getScrollBarPolicy()
Scrollable
getScrollBarPolicy in interface ScrollableScrollable.getScrollBarPolicy()public Color getScrollBarBaseColor()
ScrollableScrollable
getScrollBarBaseColor in interface ScrollableScrollableScrollable.getScrollBarBaseColor()public ScrollBarProperties getScrollBarProperties()
ScrollableScrollable
getScrollBarProperties in interface ScrollableScrollableScrollable.getScrollBarProperties()public void setScrollBarPolicy(int newScrollBarPolicy)
Scrollable
setScrollBarPolicy in interface ScrollableScrollable.setScrollBarPolicy(int)public void setScrollBarBaseColor(Color newValue)
ScrollableScrollable.
If no ScrollBarProperties is available, then a new one should be created.
setScrollBarBaseColor in interface ScrollablenewValue - - the new base color of ScrollBarProperties to useScrollable.setScrollBarBaseColor(nextapp.echo2.app.Color)public void setScrollBarProperties(ScrollBarProperties newValue)
ScrollableScrollable
setScrollBarProperties in interface ScrollablenewValue - - the new ScrollBarProperties to useScrollable.setScrollBarProperties(echopointng.able.ScrollBarProperties)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||