|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.Component nextapp.echo.extras.app.Group
public class Group
Group
component: A container which renders a border consisting of images around its content. Optionally draws a
title in the top border. May contain one child component. May not contain a Pane
component as a child.
Field Summary | |
---|---|
static int |
BOTTOM
|
static int |
BOTTOM_LEFT
|
static int |
BOTTOM_RIGHT
|
static int |
LEFT
|
static java.lang.String |
PROPERTY_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_BORDER_IMAGE
|
static java.lang.String |
PROPERTY_BORDER_INSETS
|
static java.lang.String |
PROPERTY_INSETS
|
static java.lang.String |
PROPERTY_TITLE
|
static java.lang.String |
PROPERTY_TITLE_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_TITLE_FONT
|
static java.lang.String |
PROPERTY_TITLE_INSETS
|
static java.lang.String |
PROPERTY_TITLE_POSITION
|
static int |
RIGHT
|
static int |
TOP
|
static int |
TOP_LEFT
|
static int |
TOP_RIGHT
|
Fields inherited from class nextapp.echo.app.Component |
---|
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_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 |
Constructor Summary | |
---|---|
Group()
Default constructor. |
Method Summary | |
---|---|
nextapp.echo.app.FillImage |
getBackgroundImage()
Returns the background image. |
nextapp.echo.app.ImageReference |
getBorderImage(int position)
Returns the configured border image for the specified position. |
nextapp.echo.app.Insets |
getBorderInsets()
Returns the inset margin used to provide space for the border (a zero inset would render the content over the border). |
nextapp.echo.app.Insets |
getInsets()
Returns the inset margin around the content. |
java.lang.String |
getTitle()
Gets the title. |
nextapp.echo.app.ImageReference |
getTitleBackgroundImage()
Gets the background image for the title. |
nextapp.echo.app.Font |
getTitleFont()
Gets the font for the title. |
nextapp.echo.app.Insets |
getTitleInsets()
Gets the insets for the title. |
nextapp.echo.app.Extent |
getTitlePosition()
Gets the title position. |
void |
setBackgroundImage(nextapp.echo.app.FillImage backgroundImage)
Sets the background image. |
void |
setBorderImage(int position,
nextapp.echo.app.ImageReference newValue)
Sets the border image for the specified position. |
void |
setBorderInsets(nextapp.echo.app.Insets borderInsets)
Sets the inset of the border images, used to provide space for the border (a zero inset would render the content over the border). |
void |
setInsets(nextapp.echo.app.Insets newValue)
Sets the inset margin around the content |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setTitleBackgroundImage(nextapp.echo.app.ImageReference titleBackgroundImage)
Sets the background image to use for the title. |
void |
setTitleFont(nextapp.echo.app.Font titleFont)
Sets the font to use for the title. |
void |
setTitleInsets(nextapp.echo.app.Insets titleInsets)
Sets the insets to use for the title. |
void |
setTitlePosition(nextapp.echo.app.Extent titlePosition)
Sets the title position. |
Methods inherited from class nextapp.echo.app.Component |
---|
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, 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, setFocusTraversalIndex, 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 |
Field Detail |
---|
public static final int TOP_LEFT
public static final int TOP
public static final int TOP_RIGHT
public static final int LEFT
public static final int RIGHT
public static final int BOTTOM_LEFT
public static final int BOTTOM
public static final int BOTTOM_RIGHT
public static final java.lang.String PROPERTY_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_BORDER_IMAGE
public static final java.lang.String PROPERTY_BORDER_INSETS
public static final java.lang.String PROPERTY_INSETS
public static final java.lang.String PROPERTY_TITLE
public static final java.lang.String PROPERTY_TITLE_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_TITLE_FONT
public static final java.lang.String PROPERTY_TITLE_INSETS
public static final java.lang.String PROPERTY_TITLE_POSITION
Constructor Detail |
---|
public Group()
Method Detail |
---|
public nextapp.echo.app.FillImage getBackgroundImage()
public nextapp.echo.app.ImageReference getBorderImage(int position)
position
- the position of the image, one of the following values:
TOP_LEFT
TOP
TOP_RIGHT
LEFT
RIGHT
BOTTOM_LEFT
BOTTOM
BOTTOM_RIGHT
public nextapp.echo.app.Insets getBorderInsets()
setBorderInsets(nextapp.echo.app.Insets)
public nextapp.echo.app.Insets getInsets()
public java.lang.String getTitle()
public nextapp.echo.app.ImageReference getTitleBackgroundImage()
public nextapp.echo.app.Font getTitleFont()
public nextapp.echo.app.Insets getTitleInsets()
public nextapp.echo.app.Extent getTitlePosition()
public void setBackgroundImage(nextapp.echo.app.FillImage backgroundImage)
backgroundImage
- the background imagepublic void setBorderImage(int position, nextapp.echo.app.ImageReference newValue)
position
- the image position, one of the following values:
TOP_LEFT
TOP
TOP_RIGHT
LEFT
RIGHT
BOTTOM_LEFT
BOTTOM
BOTTOM_RIGHT
newValue
- the new border imagepublic void setBorderInsets(nextapp.echo.app.Insets borderInsets)
borderInsets
- the new border insetpublic void setInsets(nextapp.echo.app.Insets newValue)
newValue
- the new inset marginpublic void setTitle(java.lang.String title)
title
- the titlepublic void setTitleBackgroundImage(nextapp.echo.app.ImageReference titleBackgroundImage)
titleBackgroundImage
- the background imagepublic void setTitleFont(nextapp.echo.app.Font titleFont)
titleFont
- the title fontpublic void setTitleInsets(nextapp.echo.app.Insets titleInsets)
titleInsets
- the title insetspublic void setTitlePosition(nextapp.echo.app.Extent titlePosition)
titlePosition
- the title position
|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |