|
|||||||||
| Home >> All >> nextapp >> [ echo overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
nextapp.echo
Class Panel

java.lang.Objectnextapp.echo.Component
nextapp.echo.Panel
- All Implemented Interfaces:
- java.io.Serializable
- public class Panel
- extends Component
A rectangular container.
| Field Summary | |
static Insets |
DEFAULT_INSETS
A default insets object used for panels, that has zero-pixel margins. |
static java.lang.String |
HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
|
private int |
horizontalAlignment
|
private Insets |
insets
|
static java.lang.String |
INSETS_CHANGED_PROPERTY
|
static java.lang.String |
STYLE_HORIZONTAL_ALIGNMENT
A style constant for the Horizontal Alignment property. |
static java.lang.String |
STYLE_INSETS
A style constant for the Insets property. |
static java.lang.String |
STYLE_VERTICAL_ALIGNMENT
A style constant for the Vertical Alignment property. |
static java.lang.String |
VERTICAL_ALIGNMENT_CHANGED_PROPERTY
|
private int |
verticalAlignment
|
| Constructor Summary | |
Panel()
Creates a new Panel. |
|
| Method Summary | |
void |
applyStyle(Style style)
Sets stylistic properties of this component based on a Style object. |
int |
getHorizontalAlignment()
Returns the horizontal alignment of the contents of this panel. |
Insets |
getInsets()
Returns the insets (margins) of the panel. |
int |
getVerticalAlignment()
Returns the vertical alignment of the contents of this panel. |
void |
setHorizontalAlignment(int newValue)
Sets the horizontal alignment of the contents of this panel. |
void |
setInsets(Insets newValue)
Sets the insets (margins) of the pane. |
void |
setVerticalAlignment(int newValue)
Sets the vertical alignment of the contents of this panel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
STYLE_HORIZONTAL_ALIGNMENT
public static final java.lang.String STYLE_HORIZONTAL_ALIGNMENT
- A style constant for the Horizontal Alignment property.
Values of this key must be of type java.lang.Integer.
- See Also:
- Constant Field Values
STYLE_INSETS
public static final java.lang.String STYLE_INSETS
- A style constant for the Insets property.
Values of this key must be of type nextapp.echo.Insets.
- See Also:
- Constant Field Values
STYLE_VERTICAL_ALIGNMENT
public static final java.lang.String STYLE_VERTICAL_ALIGNMENT
- A style constant for the Vertical Alignment property.
Values of this key must be of type java.lang.Integer.
- See Also:
- Constant Field Values
HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
public static final java.lang.String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
- See Also:
- Constant Field Values
INSETS_CHANGED_PROPERTY
public static final java.lang.String INSETS_CHANGED_PROPERTY
- See Also:
- Constant Field Values
VERTICAL_ALIGNMENT_CHANGED_PROPERTY
public static final java.lang.String VERTICAL_ALIGNMENT_CHANGED_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_INSETS
public static final Insets DEFAULT_INSETS
- A default insets object used for panels, that has zero-pixel margins.
horizontalAlignment
private int horizontalAlignment
verticalAlignment
private int verticalAlignment
insets
private Insets insets
| Constructor Detail |
Panel
public Panel()
- Creates a new Panel.
| Method Detail |
applyStyle
public void applyStyle(Style style)
- Description copied from class:
Component - Sets stylistic properties of this component based on a
Styleobject. The version of this method inComponentwill set foreground and background colors and the font from the style if they are present. Components should override this method if they allow more properties to be set from a style object, and should call super.applyStyle() if necessary.- Overrides:
applyStylein classComponent
getHorizontalAlignment
public int getHorizontalAlignment()
- Returns the horizontal alignment of the contents of this panel.
getInsets
public Insets getInsets()
- Returns the insets (margins) of the panel.
getVerticalAlignment
public int getVerticalAlignment()
- Returns the vertical alignment of the contents of this panel.
setHorizontalAlignment
public void setHorizontalAlignment(int newValue)
- Sets the horizontal alignment of the contents of this panel.
setInsets
public void setInsets(Insets newValue)
- Sets the insets (margins) of the pane.
setVerticalAlignment
public void setVerticalAlignment(int newValue)
- Sets the vertical alignment of the contents of this panel.
|
|||||||||
| Home >> All >> nextapp >> [ echo overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC