|
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.internal.AbstractContainer
public class AbstractContainer
An abstract super class for container components. Defines the standard style properties supported by container components.
The following style properites are supported by this component in
addition to those supported by Component
:
alignment
- The alignment style to apply to the
container element.backgroundImage
- A image to set as the background for
the container element.border
- The border style to apply to the
container element.insets
- The insets to apply for the content embedded
in the container element.height
- The height of the container element.
Scrollbars are displayed is needed.width
- The width of the container element.
Scrollbars are displayed is needed.
Field Summary | |
---|---|
static String |
ACTION_COMMAND_PROPERTY
The property name for the action command to be updated from client. |
static String |
ACTION_LISTENERS_CHANGED_PROPERTY
The constant used to track changes to the action listener list. |
static String |
INPUT_ACTION
The name of the action event registered in the peer when action listeners are added or removed. |
static String |
PROPERTY_ALIGNMENT
The alignment style for this component. |
static String |
PROPERTY_BACKGROUND_IMAGE
The background image for this component. |
static String |
PROPERTY_BORDER
The border style for this component. |
static String |
PROPERTY_HEIGHT
The height style for this component. |
static String |
PROPERTY_INSETS
The insets style for this component. |
static String |
PROPERTY_WIDTH
The width style for this component. |
Constructor Summary | |
---|---|
AbstractContainer()
|
Method Summary | |
---|---|
protected void |
addActionListener(ActionListener listener)
Add the specified action listener to this component. |
protected void |
fireActionPerformed(ActionEvent event)
Notifies all listeners that have registered for this event type. |
Alignment |
getAlignment()
Return the alignment property for this component. |
ImageReference |
getBackgroundImage()
Return the backgroundImage property for this component. |
Border |
getBorder()
Return the border property for this component. |
Extent |
getHeight()
Return the height property for this component. |
Insets |
getInsets()
Return the insets property for this component. |
Extent |
getWidth()
Return the width property for this component. |
protected boolean |
hasActionListeners()
Determines if the button has any ActionListener s registered. |
protected void |
removeActionListener(ActionListener listener)
Remove the specified action listener from the component. |
void |
setAlignment(Alignment alignment)
Set the alignment style for this component. |
void |
setBackgroundImage(ImageReference backgroundImage)
Set the backgroundImage style for this component. |
void |
setBorder(Border border)
Set the border style for this component. |
void |
setHeight(Extent height)
Set the height style for this component. |
void |
setInsets(Insets insets)
Set the insets style for this component. |
void |
setWidth(Extent width)
Set the width style for this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ACTION_COMMAND_PROPERTY
public static final String ACTION_LISTENERS_CHANGED_PROPERTY
public static final String INPUT_ACTION
public static final String PROPERTY_ALIGNMENT
public static final String PROPERTY_BACKGROUND_IMAGE
public static final String PROPERTY_BORDER
public static final String PROPERTY_INSETS
public static final String PROPERTY_HEIGHT
public static final String PROPERTY_WIDTH
Constructor Detail |
---|
public AbstractContainer()
Method Detail |
---|
public Alignment getAlignment()
public void setAlignment(Alignment alignment)
alignment
- The alignment style to apply.public ImageReference getBackgroundImage()
public void setBackgroundImage(ImageReference backgroundImage)
backgroundImage
- The backgroundImage style to apply.public Border getBorder()
public void setBorder(Border border)
border
- The border style to apply.public Insets getInsets()
public void setInsets(Insets insets)
insets
- The insets style to apply.public Extent getHeight()
public void setHeight(Extent height)
height
- The height style to apply.public Extent getWidth()
public void setWidth(Extent width)
width
- The width style to apply.protected void fireActionPerformed(ActionEvent event)
event
- The ActionEvent
to sendprotected void addActionListener(ActionListener listener)
listener
- The action listener to add.Component.firePropertyChange(String, Object, Object)
protected void removeActionListener(ActionListener listener)
listener
- The listener that is to be removed.Component.firePropertyChange(String, Object, Object)
protected boolean hasActionListeners()
ActionListener
s registered.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |