|
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.TooltipContainer
public class TooltipContainer
TooltipContainer is a component that can be positioned anywhere on the screen with an specified size attributes. A tooltip can be set for the whole container. This component is built around the jQuery project qTip: http://craigsworks.com/projects/qtip/ This component is a PaneContainer and hence can have components that implement Pane as a child.
| Field Summary | |
|---|---|
static String |
ALIGN_CENTER
|
static String |
ALIGN_LEFT
|
static String |
ALIGN_RIGHT
|
static String |
BOTTOMLEFT
|
static String |
BOTTOMMIDDLE
|
static String |
BOTTOMRIGHT
|
static int |
COLUMN_LAYOUT
|
static int |
DEFAULT_LAYOUT
|
static String |
LEFTMIDDLE
|
static String |
PROPERTY_HIDE_DELAY
|
static String |
PROPERTY_LAYOUT_STYLE
|
static String |
PROPERTY_POSITION_TARGET
|
static String |
PROPERTY_POSITION_TOOLTIP
|
static String |
PROPERTY_SOLO
|
static String |
PROPERTY_TOOLTIP_ALIGNMENT
|
static String |
PROPERTY_TOOLTIP_BACKGROUND_COLOR
|
static String |
PROPERTY_TOOLTIP_BORDER_COLOR
|
static String |
PROPERTY_TOOLTIP_BORDER_RADIUS
|
static String |
PROPERTY_TOOLTIP_BORDER_WIDTH
|
static String |
PROPERTY_TOOLTIP_FOREGROUND_COLOR
|
static String |
PROPERTY_TOOLTIP_INSETS
|
static String |
PROPERTY_TOOLTIP_STYLENAME
|
static String |
PROPERTY_TOOLTIP_THUMBNAIL
|
static String |
PROPERTY_TOOLTIP_VIDEO
|
static String |
RIGHTMIDDLE
|
static int |
ROW_LAYOUT
|
static String |
TOPLEFT
|
static String |
TOPMIDDLE
|
static String |
TOPRIGHT
|
| 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 | |
|---|---|
TooltipContainer()
Creates a new TooltipContainer. |
|
| 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. |
int |
getHideDelay()
Returns the delay in milliseconds before the tooltip is hidden |
Insets |
getInsets()
Returns the inset margin of the content. |
int |
getLayoutStyle()
|
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 |
String |
getPositionTarget()
Returns the tooltip-targetposition. |
String |
getPositionTooltip()
Returns the tooltip-"arrow" position. |
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 |
boolean |
getSolo()
Sets whether or not the tooltip will be shown in conjunction with other tooltips or on its own. |
String |
getThumbnailURL()
Returns the tooltip thumbnail URL. |
String |
getTooltipAlignment()
Returns the tooltip text alignment. |
Color |
getTooltipBackground()
Returns the tooltip background color. |
Color |
getTooltipBorderColor()
Returns the tooltip-border color. |
int |
getTooltipBorderRadius()
Returns the tooltip-border radius. |
int |
getTooltipBorderWidth()
Returns the tooltip-border width. |
Color |
getTooltipForeground()
Returns the tooltip foreground color. |
Color |
getTooltipInsets()
Returns the tooltip insets. |
String |
getTooltipStyle()
Returns the tooltip style name. |
String |
getToolTipText()
Returns the tool tip text (displayed when the mouse cursor is hovered over the ToolTipable). |
Extent |
getTop()
Returns the top Y position of the component |
String |
getVideoURL()
Returns the tooltip video URL. |
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 |
setHeight(Extent newValue)
Sets the height extent of the container. |
void |
setHideDelay(int hideDelay)
Sets the delay in milliseconds before the tooltip is hidden |
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 |
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 |
setPositionTarget(String newPosition)
Sets the tooltip-target position. this is normally the opposite part of the positionTarget |
void |
setPositionTooltip(String newPosition)
Sets the tooltip-"arrow" position. |
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 |
setSolo(boolean solo)
Returns whether or not the tooltip will be shown in conjunction with other tooltips or on its own. |
void |
setThumbnailURL(String newValue)
Sets the tooltip thumbnail URL. |
void |
setTooltip(String tooltip)
|
void |
setTooltipAlignment(String newValue)
Sets the tooltip text alignment. |
void |
setTooltipBackground(Color newColor)
Sets the tooltip background color. |
void |
setTooltipBorderColor(Color newColor)
Sets the tooltip-border color. |
void |
setTooltipBorderRadius(int newRadius)
Sets the tooltip-border radius. |
void |
setTooltipBorderWidth(int newWidth)
Sets the tooltip-border width. |
void |
setTooltipForeground(Color newColor)
Sets the tooltip foreground color. |
void |
setTooltipInsets(Color newValue)
Sets the tooltip insets. |
void |
setTooltipStyle(String newValue)
Sets the tooltip style name. |
void |
setToolTipText(String newValue)
Sets the tool tip text (displayed when the mouse cursor is hovered over the ToolTipable). |
void |
setTop(Extent newValue)
Sets the top Y position of the component |
void |
setVideoURL(String newValue)
Sets the tooltip video URL. |
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, setAccessKey, setMouseCursor, setMouseCursorUri |
| 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_LAYOUT_STYLE
public static final String PROPERTY_POSITION_TOOLTIP
public static final String PROPERTY_POSITION_TARGET
public static final String PROPERTY_TOOLTIP_BORDER_COLOR
public static final String PROPERTY_TOOLTIP_BORDER_WIDTH
public static final String PROPERTY_TOOLTIP_BORDER_RADIUS
public static final String PROPERTY_TOOLTIP_BACKGROUND_COLOR
public static final String PROPERTY_TOOLTIP_FOREGROUND_COLOR
public static final String PROPERTY_TOOLTIP_INSETS
public static final String PROPERTY_TOOLTIP_ALIGNMENT
public static final String PROPERTY_TOOLTIP_STYLENAME
public static final String PROPERTY_TOOLTIP_THUMBNAIL
public static final String PROPERTY_TOOLTIP_VIDEO
public static final String PROPERTY_SOLO
public static final String PROPERTY_HIDE_DELAY
public static final String TOPLEFT
public static final String TOPMIDDLE
public static final String TOPRIGHT
public static final String LEFTMIDDLE
public static final String RIGHTMIDDLE
public static final String BOTTOMLEFT
public static final String BOTTOMMIDDLE
public static final String BOTTOMRIGHT
public static final String ALIGN_CENTER
public static final String ALIGN_LEFT
public static final String ALIGN_RIGHT
public static final int DEFAULT_LAYOUT
public static final int COLUMN_LAYOUT
public static final int ROW_LAYOUT
| Constructor Detail |
|---|
public TooltipContainer()
TooltipContainer.
| 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 String getToolTipText()
getToolTipText in interface ToolTipablegetToolTipText in class AbleComponentToolTipable.getToolTipText()public void setToolTipText(String newValue)
setToolTipText in interface ToolTipablesetToolTipText in class AbleComponentnewValue - the new tool tip textToolTipable.setToolTipText(java.lang.String)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 int getLayoutStyle()
public void setLayoutStyle(int layoutStyle)
public int getHideDelay()
public void setHideDelay(int hideDelay)
hideDelay - public boolean getSolo()
getVideoURL() is in use.
public void setSolo(boolean solo)
getVideoURL() is in use.
solo - public Alignment getAlignment()
getAlignment in interface Alignablepublic void setAlignment(Alignment newValue)
setAlignment in interface AlignablenewValue - of the new alignmentpublic String getPositionTooltip()
public void setPositionTooltip(String newPosition)
newPosition - of the tooltip-arrowpublic String getPositionTarget()
public void setPositionTarget(String newPosition)
newPosition - of the tooltip-targetpublic Color getTooltipBorderColor()
public void setTooltipBorderColor(Color newColor)
newColor - of the tooltip-borderpublic int getTooltipBorderWidth()
public void setTooltipBorderWidth(int newWidth)
newWidth - of the tooltip-borderpublic int getTooltipBorderRadius()
public void setTooltipBorderRadius(int newRadius)
newRadius - of the tooltip-borderpublic Color getTooltipBackground()
public void setTooltipBackground(Color newColor)
newColor - of the backgroundpublic Color getTooltipForeground()
public void setTooltipForeground(Color newColor)
newColor - of the foregroundpublic Color getTooltipInsets()
public void setTooltipInsets(Color newValue)
newValue - of the insetspublic String getTooltipAlignment()
public void setTooltipAlignment(String newValue)
newValue - of the tooltip text alignmentpublic String getTooltipStyle()
public void setTooltipStyle(String newValue)
newValue - of the tooltip style namepublic String getThumbnailURL()
public void setThumbnailURL(String newValue)
newValue - of the tooltip thumbnail URLpublic String getVideoURL()
public void setVideoURL(String newValue)
newValue - of the tooltip video URLpublic void setTooltip(String tooltip)
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||