|
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.InfoWindow
public class InfoWindow
A component that displays a floating information window when hovering over a driver text. The driver text and optionally text surrounding the driver text are displayed in this component, while the floating information window is displayed or hidden as the user hovers over or moves out of the driver text.
The following shows sample use of this component.
import echopoint.InfoWindow;
...
final InfoWindow infoWindow = new InfoWindow();
infoWindow.setTitle( "Note!" );
infoWindow.setContent( "My floating ino window" );
infoWindow.setText( "Hover over me" );
...
container.add( infoWindow ); // container is any appropriate container component.
| Field Summary | |
|---|---|
static String |
PROPERTY_ALIGNMENT
The alignment for the content text in the info window. |
static String |
PROPERTY_CONTENT
The content to display in the info window. |
static String |
PROPERTY_INSETS
The insets to apply for the content within the info window. |
static String |
PROPERTY_OTHER_TEXT_BACKGROUND
The background for the pre/postfix text. |
static String |
PROPERTY_OTHER_TEXT_FONT
The font to use for the pre/postfix text. |
static String |
PROPERTY_OTHER_TEXT_FOREGROUND
The foreground for the pre/postfix text. |
static String |
PROPERTY_OTHER_TEXT_INSETS
The insets for the pre/postfix text. |
static String |
PROPERTY_POSTFIX
Optional postfix text after the text that drives the display of the info window. |
static String |
PROPERTY_PREFIX
Optional prefix text before the text that drives the display of the info window. |
static String |
PROPERTY_TEXT
The text that drives the display of the info window. |
static String |
PROPERTY_TEXT_BACKGROUND
The background for the driver text. |
static String |
PROPERTY_TEXT_FONT
The font to use for the driver text. |
static String |
PROPERTY_TEXT_FOREGROUND
The foreground for the driver text. |
static String |
PROPERTY_TEXT_INSETS
The insets for the driver text. |
static String |
PROPERTY_TITLE
The title to display for the info window. |
static String |
PROPERTY_TITLE_ALIGNMENT
The alignment to use for the title. |
static String |
PROPERTY_TITLE_BACKGROUND
The background for the title. |
static String |
PROPERTY_TITLE_FONT
The font to use for the title. |
static String |
PROPERTY_TITLE_FOREGROUND
The foreground for the title. |
static String |
PROPERTY_TITLE_INSETS
The insets for the title. |
static String |
PROPERTY_WIDTH
The width of the info window. |
| Constructor Summary | |
|---|---|
InfoWindow()
|
|
| Method Summary | |
|---|---|
Alignment |
getAlignment()
Return the value of the PROPERTY_ALIGNMENT property. |
String |
getContent()
Return the value of the PROPERTY_CONTENT property. |
Insets |
getInsets()
Return the value of the PROPERTY_INSETS property. |
Color |
getOtherTextBackground()
Return the value of the PROPERTY_OTHER_TEXT_BACKGROUND property. |
Font |
getOtherTextFont()
Return the value of the PROPERTY_OTHER_TEXT_FONT property. |
Color |
getOtherTextForeground()
Return the value of the PROPERTY_OTHER_TEXT_FOREGROUND property. |
Insets |
getOtherTextInsets()
Return the value of the PROPERTY_OTHER_TEXT_INSETS property. |
String |
getPostfix()
Return the value of the PROPERTY_POSTFIX property. |
String |
getPrefix()
Return the value of the PROPERTY_PREFIX property. |
String |
getText()
Return the value of the PROPERTY_TEXT property. |
Color |
getTextBackground()
Return the value of the PROPERTY_TEXT_BACKGROUND property. |
Font |
getTextFont()
Return the value of the PROPERTY_TEXT_FONT property. |
Color |
getTextForeground()
Return the value of the PROPERTY_TEXT_FOREGROUND property. |
Insets |
getTextInsets()
Return the value of the PROPERTY_TEXT_INSETS property. |
String |
getTitle()
Return the value of the PROPERTY_TITLE property. |
Alignment |
getTitleAlignment()
Return the value of the PROPERTY_TITLE_ALIGNMENT property. |
Color |
getTitleBackground()
Return the value of the PROPERTY_TITLE_BACKGROUND property. |
Font |
getTitleFont()
Return the value of the PROPERTY_TITLE_FONT property. |
Color |
getTitleForeground()
Return the value of the PROPERTY_TITLE_FOREGROUND property. |
Insets |
getTitleInsets()
Return the value of the PROPERTY_TITLE_INSETS property. |
Extent |
getWidth()
Return the value of the PROPERTY_WIDTH property. |
void |
setAlignment(Alignment alignment)
Set the value of the PROPERTY_ALIGNMENT property. |
void |
setContent(String content)
Set the value of the PROPERTY_CONTENT property. |
void |
setInsets(Insets insets)
Set the value of the PROPERTY_INSETS property. |
void |
setOtherTextBackground(Color textBackground)
Set the value of the PROPERTY_OTHER_TEXT_BACKGROUND property. |
void |
setOtherTextFont(Font textFont)
Set the value of the PROPERTY_OTHER_TEXT_FONT property. |
void |
setOtherTextForeground(Color textForeground)
Set the value of the PROPERTY_OTHER_TEXT_FOREGROUND property. |
void |
setOtherTextInsets(Insets textInsets)
Set the value of the PROPERTY_OTHER_TEXT_INSETS property. |
void |
setPostfix(String postfix)
Set the value of the PROPERTY_POSTFIX property. |
void |
setPrefix(String prefix)
Set the value of the PROPERTY_PREFIX property. |
void |
setText(String text)
Set the value of the PROPERTY_TEXT property. |
void |
setTextBackground(Color textBackground)
Set the value of the PROPERTY_TEXT_BACKGROUND property. |
void |
setTextFont(Font textFont)
Set the value of the PROPERTY_TEXT_FONT property. |
void |
setTextForeground(Color textForeground)
Set the value of the PROPERTY_TEXT_FOREGROUND property. |
void |
setTextInsets(Insets textInsets)
Set the value of the PROPERTY_TEXT_INSETS property. |
void |
setTitle(String title)
Set the value of the PROPERTY_TITLE property. |
void |
setTitleAlignment(Alignment titleAlignment)
Set the value of the PROPERTY_TITLE_ALIGNMENT property. |
void |
setTitleBackground(Color titleBackground)
Set the value of the PROPERTY_TITLE_BACKGROUND property. |
void |
setTitleFont(Font titleFont)
Set the value of the PROPERTY_TITLE_FONT property. |
void |
setTitleForeground(Color titleForeground)
Set the value of the PROPERTY_TITLE_FOREGROUND property. |
void |
setTitleInsets(Insets titleInsets)
Set the value of the PROPERTY_TITLE_INSETS property. |
void |
setWidth(Extent width)
Set the value of the PROPERTY_WIDTH property. |
| 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_PREFIX
public static final String PROPERTY_POSTFIX
public static final String PROPERTY_TEXT
public static final String PROPERTY_TEXT_FONT
public static final String PROPERTY_TEXT_FOREGROUND
public static final String PROPERTY_TEXT_BACKGROUND
public static final String PROPERTY_TEXT_INSETS
public static final String PROPERTY_OTHER_TEXT_FONT
public static final String PROPERTY_OTHER_TEXT_FOREGROUND
public static final String PROPERTY_OTHER_TEXT_BACKGROUND
public static final String PROPERTY_OTHER_TEXT_INSETS
public static final String PROPERTY_TITLE
public static final String PROPERTY_TITLE_ALIGNMENT
public static final String PROPERTY_TITLE_FONT
public static final String PROPERTY_TITLE_FOREGROUND
public static final String PROPERTY_TITLE_BACKGROUND
public static final String PROPERTY_TITLE_INSETS
public static final String PROPERTY_CONTENT
public static final String PROPERTY_ALIGNMENT
public static final String PROPERTY_INSETS
public static final String PROPERTY_WIDTH
| Constructor Detail |
|---|
public InfoWindow()
| Method Detail |
|---|
public String getContent()
PROPERTY_CONTENT property.
public void setContent(String content)
PROPERTY_CONTENT property.
content - The value to set for the property.public String getTitle()
PROPERTY_TITLE property.
public void setTitle(String title)
PROPERTY_TITLE property.
title - The value to set for the property.public Alignment getTitleAlignment()
PROPERTY_TITLE_ALIGNMENT property.
public void setTitleAlignment(Alignment titleAlignment)
PROPERTY_TITLE_ALIGNMENT property.
titleAlignment - The value to set for the property.public Font getTitleFont()
PROPERTY_TITLE_FONT property.
public void setTitleFont(Font titleFont)
PROPERTY_TITLE_FONT property.
titleFont - The value to set for the property.public Color getTitleForeground()
PROPERTY_TITLE_FOREGROUND property.
public void setTitleForeground(Color titleForeground)
PROPERTY_TITLE_FOREGROUND property.
titleForeground - The value to set for the property.public Color getTitleBackground()
PROPERTY_TITLE_BACKGROUND property.
public void setTitleBackground(Color titleBackground)
PROPERTY_TITLE_BACKGROUND property.
titleBackground - The value to set for the property.public Insets getTitleInsets()
PROPERTY_TITLE_INSETS property.
public void setTitleInsets(Insets titleInsets)
PROPERTY_TITLE_INSETS property.
titleInsets - The value to set for the property.public String getPrefix()
PROPERTY_PREFIX property.
public void setPrefix(String prefix)
PROPERTY_PREFIX property.
prefix - The value to set for the property.public String getPostfix()
PROPERTY_POSTFIX property.
public void setPostfix(String postfix)
PROPERTY_POSTFIX property.
postfix - The value to set for the property.public String getText()
PROPERTY_TEXT property.
public void setText(String text)
PROPERTY_TEXT property.
text - The value to set for the property.public Font getTextFont()
PROPERTY_TEXT_FONT property.
public void setTextFont(Font textFont)
PROPERTY_TEXT_FONT property.
textFont - The value to set for the property.public Color getTextForeground()
PROPERTY_TEXT_FOREGROUND property.
public void setTextForeground(Color textForeground)
PROPERTY_TEXT_FOREGROUND property.
textForeground - The value to set for the property.public Color getTextBackground()
PROPERTY_TEXT_BACKGROUND property.
public void setTextBackground(Color textBackground)
PROPERTY_TEXT_BACKGROUND property.
textBackground - The value to set for the property.public Insets getTextInsets()
PROPERTY_TEXT_INSETS property.
public void setTextInsets(Insets textInsets)
PROPERTY_TEXT_INSETS property.
textInsets - The value to set for the property.public Font getOtherTextFont()
PROPERTY_OTHER_TEXT_FONT property.
public void setOtherTextFont(Font textFont)
PROPERTY_OTHER_TEXT_FONT property.
textFont - The value to set for the property.public Color getOtherTextForeground()
PROPERTY_OTHER_TEXT_FOREGROUND property.
public void setOtherTextForeground(Color textForeground)
PROPERTY_OTHER_TEXT_FOREGROUND property.
textForeground - The value to set for the property.public Color getOtherTextBackground()
PROPERTY_OTHER_TEXT_BACKGROUND property.
public void setOtherTextBackground(Color textBackground)
PROPERTY_OTHER_TEXT_BACKGROUND property.
textBackground - The value to set for the property.public Insets getOtherTextInsets()
PROPERTY_OTHER_TEXT_INSETS property.
public void setOtherTextInsets(Insets textInsets)
PROPERTY_OTHER_TEXT_INSETS property.
textInsets - The value to set for the property.public Alignment getAlignment()
PROPERTY_ALIGNMENT property.
public void setAlignment(Alignment alignment)
PROPERTY_ALIGNMENT property.
alignment - The value to set for the property.public Insets getInsets()
PROPERTY_INSETS property.
public void setInsets(Insets insets)
PROPERTY_INSETS property.
insets - The value to set for the property.public Extent getWidth()
PROPERTY_WIDTH property.
public void setWidth(Extent width)
PROPERTY_WIDTH property.
width - The value to set for the property.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||