|
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.LightBox
public class LightBox
The LightBox is a component that covers all visible content
with a translucent image. This can be used to give a visual clue to the
user that content cannot be interacted with. LightBox supports
child components that may be used to present visually modal content to
the user. LightBox components are designed to be added as the
only child of WindowPane or SplitPane components.
| Field Summary | |
|---|---|
static String |
PROPERTY_HIDDEN
The property used to toggle the display status of the light box. |
static String |
PROPERTY_PARENT_ONLY
The property used to indicate whether the light box should cover the entire browser window or just the pane (windowpane, split pane...). |
static String |
PROPERTY_TRANSLUCENT_IMAGE
The property for the image to use as the translucent overlay. |
| Constructor Summary | |
|---|---|
LightBox()
|
|
| Method Summary | |
|---|---|
boolean |
getHidden()
Return the visiable status of the light box. |
boolean |
getParentOnly()
Return the indicator that specifies whether the light box will cover the entire browser window or just its container pane. |
ImageReference |
getTranslucentImage()
Return the image that is used as the overlay to hide content. |
boolean |
isValidParent(Component component)
Over-ridden to allow only PaneContainers as
parents. |
void |
setHidden(boolean hidden)
Set the visible status of the light box. |
void |
setParentOnly(boolean parentOnly)
Set the indicator that specified whether the light box covers the entire browser window or just its parent container pane. |
void |
setTranslucentImage(ImageReference image)
Sets the image to be used as the background of the light box. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_TRANSLUCENT_IMAGE
public static final String PROPERTY_HIDDEN
public static final String PROPERTY_PARENT_ONLY
| Constructor Detail |
|---|
public LightBox()
| Method Detail |
|---|
public ImageReference getTranslucentImage()
public void setTranslucentImage(ImageReference image)
image - The image to use as the over lay.public boolean getHidden()
true if the light box will be visible when
added to the component hierarchy.public void setHidden(boolean hidden)
hidden - The visible status indicator to set.public boolean getParentOnly()
true if only the container pane is covered.public void setParentOnly(boolean parentOnly)
parentOnly - The indicator to set.public boolean isValidParent(Component component)
PaneContainers as
parents.
isValidParent in class Componentcomponent - The component to test.
true if the component is a pane container.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||