|
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.jquery.SlidingMenu
public class SlidingMenu
SlidingMenu consists of three parts, a button and two containers.
If you press the button the menu slides between the two containers (so one container is always hidden by the other).
| Field Summary | |
|---|---|
static int |
COLUMN_LAYOUT
|
static int |
DEFAULT_LAYOUT
|
static String |
PROPERTY_BUTTON_WIDTH
|
static String |
PROPERTY_ICON
|
static String |
PROPERTY_PRESSED_ICON
|
static String |
PROPERTY_ROLLOVER_ICON
|
static String |
PROPERTY_SLIDER_WIDTH
|
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.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 | |
|---|---|
SlidingMenu()
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 |
getButtonWidth()
Returns the button width |
Extent |
getHeight()
Returns the height extent of container. |
ImageReference |
getIcon()
Returns the icon displayed in the button. |
Insets |
getInsets()
Returns the inset margin of the content. |
Extent |
getLeft()
Returns the left X position of the component |
Insets |
getOutsets()
|
int |
getPosition()
This can be one of : POSITIONING_STATIC POSITIONING_RELATIVE POSITIONING_ABSOLUTE POSITIONING_FIXED |
ImageReference |
getPressedIcon()
Returns the icon of the button that is displayed when the button is pressed. |
Extent |
getRight()
Returns the right X position of the component |
ImageReference |
getRolloverIcon()
Returns the icon of the button that is displayed when the mouse cursor is inside its bounds. |
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 |
getWidth()
Returns the width extent of the container. |
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 |
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 |
setButtonWidth(Extent newValue)
Sets the button width |
void |
setHeight(Extent newValue)
Sets the height extent of the container. |
void |
setIcon(ImageReference newValue)
Sets the icon displayed in the button. |
void |
setInsets(Insets newValue)
Sets the inset margin of the content. |
void |
setLeft(Extent newValue)
Set the left X position of the component |
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 |
setPressedIcon(ImageReference newValue)
Sets the icon of the button that is displayed when the button is pressed. |
void |
setRight(Extent newValue)
Sets the right X position of the component |
void |
setRolloverIcon(ImageReference newValue)
Sets the icon of the button that is displayed when the mouse cursor is inside its bounds. |
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 |
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_ICON
public static final String PROPERTY_PRESSED_ICON
public static final String PROPERTY_ROLLOVER_ICON
public static final String PROPERTY_BUTTON_WIDTH
public static final String PROPERTY_SLIDER_WIDTH
public static final int DEFAULT_LAYOUT
public static final int COLUMN_LAYOUT
public static final int ROW_LAYOUT
| Constructor Detail |
|---|
public SlidingMenu()
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 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 void setBackgroundImage(FillImage newValue)
setBackgroundImage in interface BackgroundImageablenewValue - the new background imagepublic 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 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 Alignment getAlignment()
getAlignment in interface Alignablepublic void setAlignment(Alignment newValue)
setAlignment in interface AlignablenewValue - the new alignmentpublic ImageReference getIcon()
public void setIcon(ImageReference newValue)
newValue - the new iconpublic void setPressedIcon(ImageReference newValue)
newValue - the new iconpublic void setRolloverIcon(ImageReference newValue)
newValue - the new iconpublic ImageReference getPressedIcon()
public ImageReference getRolloverIcon()
public Extent getButtonWidth()
public void setButtonWidth(Extent newValue)
newValue - the new button width
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||