EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.jquery
Class TooltipContainer

java.lang.Object
  extended by nextapp.echo.app.Component
      extended by echopoint.ComponentEx
          extended by echopoint.AbleComponent
              extended by echopoint.jquery.TooltipContainer
All Implemented Interfaces:
AccessKeyable, Alignable, Attributeable, BackgroundImageable, Borderable, Delegateable, Heightable, Insetable, MouseCursorable, Positionable, Scrollable, Sizeable, ToolTipable, Widthable, Serializable, PaneContainer, RenderIdSupport

public class TooltipContainer
extends AbleComponent
implements Alignable, PaneContainer, Positionable, Scrollable, BackgroundImageable

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.

Version:
$Id: TooltipContainer.java 249 2009-10-19 16:22:54Z aschild $
Author:
HansH 2009-04-28
See Also:
Serialized Form

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 class nextapp.echo.app.Component
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_NEXT_ID_CHANGED_PROPERTY, FOCUS_PREVIOUS_ID_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
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 nextapp.echo.app.Component
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusNextId, getFocusPreviousId, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusNextId, setFocusPreviousId, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf
 
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

PROPERTY_LAYOUT_STYLE

public static final String PROPERTY_LAYOUT_STYLE
See Also:
Constant Field Values

PROPERTY_POSITION_TOOLTIP

public static final String PROPERTY_POSITION_TOOLTIP
See Also:
Constant Field Values

PROPERTY_POSITION_TARGET

public static final String PROPERTY_POSITION_TARGET
See Also:
Constant Field Values

PROPERTY_TOOLTIP_BORDER_COLOR

public static final String PROPERTY_TOOLTIP_BORDER_COLOR
See Also:
Constant Field Values

PROPERTY_TOOLTIP_BORDER_WIDTH

public static final String PROPERTY_TOOLTIP_BORDER_WIDTH
See Also:
Constant Field Values

PROPERTY_TOOLTIP_BORDER_RADIUS

public static final String PROPERTY_TOOLTIP_BORDER_RADIUS
See Also:
Constant Field Values

PROPERTY_TOOLTIP_BACKGROUND_COLOR

public static final String PROPERTY_TOOLTIP_BACKGROUND_COLOR
See Also:
Constant Field Values

PROPERTY_TOOLTIP_FOREGROUND_COLOR

public static final String PROPERTY_TOOLTIP_FOREGROUND_COLOR
See Also:
Constant Field Values

PROPERTY_TOOLTIP_INSETS

public static final String PROPERTY_TOOLTIP_INSETS
See Also:
Constant Field Values

PROPERTY_TOOLTIP_ALIGNMENT

public static final String PROPERTY_TOOLTIP_ALIGNMENT
See Also:
Constant Field Values

PROPERTY_TOOLTIP_STYLENAME

public static final String PROPERTY_TOOLTIP_STYLENAME
See Also:
Constant Field Values

PROPERTY_TOOLTIP_THUMBNAIL

public static final String PROPERTY_TOOLTIP_THUMBNAIL
See Also:
Constant Field Values

PROPERTY_TOOLTIP_VIDEO

public static final String PROPERTY_TOOLTIP_VIDEO
See Also:
Constant Field Values

PROPERTY_SOLO

public static final String PROPERTY_SOLO
See Also:
Constant Field Values

PROPERTY_HIDE_DELAY

public static final String PROPERTY_HIDE_DELAY
See Also:
Constant Field Values

TOPLEFT

public static final String TOPLEFT
See Also:
Constant Field Values

TOPMIDDLE

public static final String TOPMIDDLE
See Also:
Constant Field Values

TOPRIGHT

public static final String TOPRIGHT
See Also:
Constant Field Values

LEFTMIDDLE

public static final String LEFTMIDDLE
See Also:
Constant Field Values

RIGHTMIDDLE

public static final String RIGHTMIDDLE
See Also:
Constant Field Values

BOTTOMLEFT

public static final String BOTTOMLEFT
See Also:
Constant Field Values

BOTTOMMIDDLE

public static final String BOTTOMMIDDLE
See Also:
Constant Field Values

BOTTOMRIGHT

public static final String BOTTOMRIGHT
See Also:
Constant Field Values

ALIGN_CENTER

public static final String ALIGN_CENTER
See Also:
Constant Field Values

ALIGN_LEFT

public static final String ALIGN_LEFT
See Also:
Constant Field Values

ALIGN_RIGHT

public static final String ALIGN_RIGHT
See Also:
Constant Field Values

DEFAULT_LAYOUT

public static final int DEFAULT_LAYOUT
See Also:
Constant Field Values

COLUMN_LAYOUT

public static final int COLUMN_LAYOUT
See Also:
Constant Field Values

ROW_LAYOUT

public static final int ROW_LAYOUT
See Also:
Constant Field Values
Constructor Detail

TooltipContainer

public TooltipContainer()
Creates a new TooltipContainer.

Method Detail

clear

public void clear()
This sets all the positioning attributes (left,top,right,bottom,z-index) to null or zero.

Specified by:
clear in interface Positionable

getBottom

public Extent getBottom()
Returns the bottom Y position of the component

Specified by:
getBottom in interface Positionable

getLeft

public Extent getLeft()
Returns the left X position of the component

Specified by:
getLeft in interface Positionable

getPosition

public int getPosition()
This can be one of :

Specified by:
getPosition in interface Positionable

getRight

public Extent getRight()
Returns the right X position of the component

Specified by:
getRight in interface Positionable

getTop

public Extent getTop()
Returns the top Y position of the component

Specified by:
getTop in interface Positionable

getZIndex

public int getZIndex()
Returns the z-index of the component

Specified by:
getZIndex in interface Positionable

isPositioned

public boolean isPositioned()
This returns true if any positioning is in place other than normal flow ie. STATIC.

Specified by:
isPositioned in interface Positionable

setBottom

public void setBottom(Extent newValue)
Sets the bottom Y position of the component

Specified by:
setBottom in interface Positionable

setLeft

public void setLeft(Extent newValue)
Set the left X position of the component

Specified by:
setLeft in interface Positionable

setPosition

public void setPosition(int newPositioning)
Sets the position of the component This can be one of :

Specified by:
setPosition in interface Positionable

setRight

public void setRight(Extent newValue)
Sets the right X position of the component

Specified by:
setRight in interface Positionable

setTop

public void setTop(Extent newValue)
Sets the top Y position of the component

Specified by:
setTop in interface Positionable

setZIndex

public void setZIndex(int newValue)
Sets the z-index of the component

Specified by:
setZIndex in interface Positionable

getBorder

public Border getBorder()
Returns the Border that encloses the entire Clock.

Specified by:
getBorder in interface Borderable
Overrides:
getBorder in class AbleComponent
Returns:
the border
See Also:
Borderable.getBorder()

setBorder

public void setBorder(Border newValue)
Sets the Border that encloses the entire Clock.

Specified by:
setBorder in interface Borderable
Overrides:
setBorder in class AbleComponent
Parameters:
newValue - the new border
See Also:
Borderable.setBorder(nextapp.echo.app.Border)

getBackgroundImage

public FillImage getBackgroundImage()
Returns the background image.

Specified by:
getBackgroundImage in interface BackgroundImageable
Returns:
the background image

getInsets

public Insets getInsets()
Returns the inset margin of the content. Note that FloatingPanes, such as WindowPanes, will NOT be constrained by this margin. Values may only be specified in pixel-based units.

Specified by:
getInsets in interface Insetable
Overrides:
getInsets in class AbleComponent
Returns:
newValue the inset margin
See Also:
Insetable.getInsets()

setBackgroundImage

public void setBackgroundImage(FillImage newValue)
Sets the background image.

Specified by:
setBackgroundImage in interface BackgroundImageable
Parameters:
newValue - the new background image

setInsets

public void setInsets(Insets newValue)
Sets the inset margin of the content. Note that FloatingPanes, such as WindowPanes, will NOT be constrained by this margin. Values may only be specified in pixel-based units.

Specified by:
setInsets in interface Insetable
Overrides:
setInsets in class AbleComponent
Parameters:
newValue - the new inset margin
See Also:
Insetable.setInsets(nextapp.echo.app.Insets)

getHeight

public Extent getHeight()
Returns the height extent of container.

Specified by:
getHeight in interface Heightable
Overrides:
getHeight in class AbleComponent
Returns:
the height extent of container.
See Also:
Heightable.getHeight()

getOutsets

public Insets getOutsets()
Specified by:
getOutsets in interface Insetable
Overrides:
getOutsets in class AbleComponent
Returns:
the Outsets in use or null if here are none
See Also:
Insetable.getOutsets()

getWidth

public Extent getWidth()
Returns the width extent of the container.

Specified by:
getWidth in interface Widthable
Overrides:
getWidth in class AbleComponent
Returns:
the width extent of the container.
See Also:
Widthable.getWidth()

setHeight

public void setHeight(Extent newValue)
Sets the height extent of the container.

Specified by:
setHeight in interface Heightable
Overrides:
setHeight in class AbleComponent
Parameters:
newValue - - the new height extent of the container
See Also:
Heightable.setHeight(nextapp.echo.app.Extent)

setOutsets

public void setOutsets(Insets newValue)
Sets the Outsets in play. The Outsets control the extra space around the outside of a container.

Specified by:
setOutsets in interface Insetable
Overrides:
setOutsets in class AbleComponent
Parameters:
newValue - - the Ousets to use
See Also:
Insetable.setOutsets(nextapp.echo.app.Insets)

setWidth

public void setWidth(Extent newValue)
Sets the width extent of the container.

Specified by:
setWidth in interface Widthable
Overrides:
setWidth in class AbleComponent
Parameters:
newValue - - the new width extent of the container
See Also:
Widthable.setWidth(nextapp.echo.app.Extent)

getToolTipText

public String getToolTipText()
Returns the tool tip text (displayed when the mouse cursor is hovered over the ToolTipable).

Specified by:
getToolTipText in interface ToolTipable
Overrides:
getToolTipText in class AbleComponent
Returns:
the tool tip text
See Also:
ToolTipable.getToolTipText()

setToolTipText

public void setToolTipText(String newValue)
Sets the tool tip text (displayed when the mouse cursor is hovered over the ToolTipable).

Specified by:
setToolTipText in interface ToolTipable
Overrides:
setToolTipText in class AbleComponent
Parameters:
newValue - the new tool tip text
See Also:
ToolTipable.setToolTipText(java.lang.String)

getScrollBarPolicy

public int getScrollBarPolicy()
Returns the ScrollBarPolicy in place This can be one of :

Specified by:
getScrollBarPolicy in interface Scrollable

getScrollBarBaseColor

public Color getScrollBarBaseColor()
todo Returns the base color of the ScrollBarProperties associated with this Scrollable

Specified by:
getScrollBarBaseColor in interface Scrollable
Returns:
the base color of the ScrollBarProperties associated with this Scrollable

getScrollBarProperties

public ScrollBarProperties getScrollBarProperties()
todo Returns the ScrollBarProperties associated with this Scrollable

Specified by:
getScrollBarProperties in interface Scrollable
Returns:
the ScrollBarProperties associated with this Scrollable

setScrollBarPolicy

public void setScrollBarPolicy(int newScrollBarPolicy)
Sets the scroll bar policy of the component This can be one of :

Specified by:
setScrollBarPolicy in interface Scrollable

setScrollBarBaseColor

public void setScrollBarBaseColor(Color newValue)
todo Sets the base color of the ScrollBarProperties associated with this Scrollable. If no ScrollBarProperties is available, then a new one should be created.

Specified by:
setScrollBarBaseColor in interface Scrollable
Parameters:
newValue - - the new base color of ScrollBarProperties to use

setScrollBarProperties

public void setScrollBarProperties(ScrollBarProperties newValue)
todo Sets the ScrollBarProperties associated with this Scrollable

Specified by:
setScrollBarProperties in interface Scrollable
Parameters:
newValue - - the new ScrollBarProperties to use

getLayoutStyle

public int getLayoutStyle()

setLayoutStyle

public void setLayoutStyle(int layoutStyle)

getHideDelay

public int getHideDelay()
Returns the delay in milliseconds before the tooltip is hidden

Returns:

setHideDelay

public void setHideDelay(int hideDelay)
Sets the delay in milliseconds before the tooltip is hidden

Parameters:
hideDelay -

getSolo

public boolean getSolo()
Sets whether or not the tooltip will be shown in conjunction with other tooltips or on its own. Does not apply when getVideoURL() is in use.

Returns:
solo

setSolo

public void setSolo(boolean solo)
Returns whether or not the tooltip will be shown in conjunction with other tooltips or on its own. Does not apply when getVideoURL() is in use.

Parameters:
solo -

getAlignment

public Alignment getAlignment()
Returns the alignment of the container.

Specified by:
getAlignment in interface Alignable
Returns:
the alignment

setAlignment

public void setAlignment(Alignment newValue)
Sets the alignment of the container.

Specified by:
setAlignment in interface Alignable
Parameters:
newValue - of the new alignment

getPositionTooltip

public String getPositionTooltip()
Returns the tooltip-"arrow" position.

Returns:
the tooltip position

setPositionTooltip

public void setPositionTooltip(String newPosition)
Sets the tooltip-"arrow" position.

Parameters:
newPosition - of the tooltip-arrow

getPositionTarget

public String getPositionTarget()
Returns the tooltip-targetposition.

Returns:
the target position

setPositionTarget

public void setPositionTarget(String newPosition)
Sets the tooltip-target position. this is normally the opposite part of the positionTarget

Parameters:
newPosition - of the tooltip-target

getTooltipBorderColor

public Color getTooltipBorderColor()
Returns the tooltip-border color.

Returns:
the border color

setTooltipBorderColor

public void setTooltipBorderColor(Color newColor)
Sets the tooltip-border color.

Parameters:
newColor - of the tooltip-border

getTooltipBorderWidth

public int getTooltipBorderWidth()
Returns the tooltip-border width.

Returns:
the border width

setTooltipBorderWidth

public void setTooltipBorderWidth(int newWidth)
Sets the tooltip-border width.

Parameters:
newWidth - of the tooltip-border

getTooltipBorderRadius

public int getTooltipBorderRadius()
Returns the tooltip-border radius.

Returns:
the border radius

setTooltipBorderRadius

public void setTooltipBorderRadius(int newRadius)
Sets the tooltip-border radius.

Parameters:
newRadius - of the tooltip-border

getTooltipBackground

public Color getTooltipBackground()
Returns the tooltip background color.

Returns:
the background color

setTooltipBackground

public void setTooltipBackground(Color newColor)
Sets the tooltip background color.

Parameters:
newColor - of the background

getTooltipForeground

public Color getTooltipForeground()
Returns the tooltip foreground color.

Returns:
the foreground color

setTooltipForeground

public void setTooltipForeground(Color newColor)
Sets the tooltip foreground color.

Parameters:
newColor - of the foreground

getTooltipInsets

public Color getTooltipInsets()
Returns the tooltip insets.

Returns:
the tooltip insets

setTooltipInsets

public void setTooltipInsets(Color newValue)
Sets the tooltip insets.

Parameters:
newValue - of the insets

getTooltipAlignment

public String getTooltipAlignment()
Returns the tooltip text alignment.

Returns:
the tooltip text alignment

setTooltipAlignment

public void setTooltipAlignment(String newValue)
Sets the tooltip text alignment.

Parameters:
newValue - of the tooltip text alignment

getTooltipStyle

public String getTooltipStyle()
Returns the tooltip style name.

Returns:
the tooltip style name

setTooltipStyle

public void setTooltipStyle(String newValue)
Sets the tooltip style name.

Parameters:
newValue - of the tooltip style name

getThumbnailURL

public String getThumbnailURL()
Returns the tooltip thumbnail URL.

Returns:
the tooltip thumbnail URL

setThumbnailURL

public void setThumbnailURL(String newValue)
Sets the tooltip thumbnail URL. If you set the URL to for example www.amazon.com you will see a thumbnail of the amazon site. This feature is now hardcoded with the websnapr-service at: http://www.websnapr.com

Parameters:
newValue - of the tooltip thumbnail URL

getVideoURL

public String getVideoURL()
Returns the tooltip video URL.

Returns:
the tooltip video URL

setVideoURL

public void setVideoURL(String newValue)
Sets the tooltip video URL. You could use this feature to display a youtube video. Example: setVideoURL("http://www.youtube.com/v/i_pcYd-9svs")

Parameters:
newValue - of the tooltip video URL

setTooltip

public void setTooltip(String tooltip)

EchoPoint API - 3.0.0b5
App Webcontainer