|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.Component nextapp.echo.Container echopoint.EchoPointComponent echopoint.BoxSection
The BoxSection
class provides a Component
that has a title, some content and an optional footer.
Nested Class Summary | |
static class |
BoxSection.NestedStyleInfo
Nested public static StyleInfo class. |
Field Summary | |
static nextapp.echo.Insets |
DEFAULT_INSETS
|
static java.lang.String |
FOOTER_CHANGED_PROPERTY
|
static java.lang.String |
INSETS_CHANGED_PROPERTY
|
static java.lang.String |
RULER_COLOR_CHANGED_PROPERTY
|
static java.lang.String |
RULER_WIDTH_CHANGED_PROPERTY
|
static java.lang.String |
STYLE_INSETS
A style constant for the Insets property. |
static java.lang.String |
STYLE_RULER_COLOR
The Ruler Color property |
static java.lang.String |
STYLE_RULER_DRAWN
The Ruler Drawn property |
static java.lang.String |
STYLE_RULER_WIDTH
The Ruler Width property |
static java.lang.String |
TITLE_CHANGED_PROPERTY
|
Fields inherited from class echopoint.EchoPointComponent |
STYLE_TOOL_TIP_TEXT, TOOL_TIP_TEXT_CHANGED_PROPERTY, toolTipPopUp |
Fields inherited from class nextapp.echo.Component |
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, listenerList, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY |
Fields inherited from interface echopoint.positionable.MouseCursorable |
borderStyleSymbolics, 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, STYLE_MOUSE_CURSOR, STYLE_MOUSE_CURSOR_URI |
Constructor Summary | |
BoxSection()
Constructs a BoxSection . |
|
BoxSection(nextapp.echo.Component content)
Constructs a BoxSection with the given content |
|
BoxSection(java.lang.String title)
Constructs a BoxSection with with the given title. |
|
BoxSection(java.lang.String title,
nextapp.echo.Component content)
Constructs a BoxSection with the given title
and content. |
|
BoxSection(TitleBar titleBar,
nextapp.echo.Component content)
Constructs a BoxSection with the given title bar
and content. |
Method Summary | |
void |
applyStyle(nextapp.echo.Style style)
Applies the provided style to the component. |
nextapp.echo.Color |
getBorderColor()
|
int |
getBorderSize()
|
int |
getBorderStyle()
Returns the border style of the Borderable. |
nextapp.echo.Color |
getBottomBorderColor()
|
int |
getBottomBorderSize()
|
int |
getBottomBorderStyle()
|
TitleBar |
getFooter()
|
nextapp.echo.Insets |
getInsets()
|
nextapp.echo.Color |
getLeftBorderColor()
|
int |
getLeftBorderSize()
|
int |
getLeftBorderStyle()
|
nextapp.echo.Color |
getRightBorderColor()
|
int |
getRightBorderSize()
|
int |
getRightBorderStyle()
|
nextapp.echo.Color |
getRulerColor()
Returns the color of the BoxSections' sruler |
int |
getRulerWidth()
Returns the width fo the BoxSection's ruler |
TitleBar |
getTitle()
|
nextapp.echo.Color |
getTopBorderColor()
|
int |
getTopBorderSize()
|
int |
getTopBorderStyle()
|
protected void |
reRegisterComponents(nextapp.echo.Component oldValue,
nextapp.echo.Component newValue)
adds and removes an Component from the current hierarchy tree |
java.lang.Object |
set(java.lang.reflect.Field field,
java.lang.Object newValue)
Called to save the old value of a field, set in a new value and return the old value of a field. |
void |
setBorderColor(nextapp.echo.Color newBorderColor)
Sets the Color of the Borderable's border.
|
void |
setBorderSize(int newBorderSize)
Sets the size of the Borderables's border.
|
void |
setBorderStyle(int borderStyle)
Sets the border style of the Borderable. |
void |
setBottomBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's bottom border. |
void |
setBottomBorderSize(int borderSize)
Sets the size of the Borderables's bottom border. |
void |
setBottomBorderStyle(int borderStyle)
Sets the border style of the Borderables's bottom border. |
void |
setFooter(java.lang.String newFooter)
Sets the footer used by the BoxSection .
|
void |
setFooter(TitleBar newFooter)
Sets the footer used by the BoxSection .
|
void |
setInsets(nextapp.echo.Insets newValue)
Sets the Insets (padding) used by the BoxSection .
|
void |
setLeftBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's left border. |
void |
setLeftBorderSize(int borderSize)
Sets the size of the Borderables's left border. |
void |
setLeftBorderStyle(int borderStyle)
Sets the border style of the Borderables's left border. |
void |
setRightBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's right border. |
void |
setRightBorderSize(int borderSize)
Sets the size of the Borderables's right border. |
void |
setRightBorderStyle(int borderStyle)
Sets the border style of the Borderables's right border. |
void |
setRulerColor(nextapp.echo.Color newRulerColor)
Sets the color of the BoxSections' sruler |
void |
setRulerWidth(int newRulerWidth)
Sets the width fo the BoxSection's ruler |
void |
setTitle(java.lang.String newTitle)
Sets the title used by the BoxSection .
|
void |
setTitle(TitleBar newTitle)
Sets the title used by the BoxSection .
|
void |
setTopBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's top border. |
void |
setTopBorderSize(int borderSize)
Sets the size of the Borderables's top border. |
void |
setTopBorderStyle(int borderStyle)
Sets the border style of the Borderables's top border. |
Methods inherited from class echopoint.EchoPointComponent |
getMouseCursor, getMouseCursorURI, getToolTipPopUp, getToolTipText, set, set, set, set, set, set, set, set, set, setEnabledAllChildren, setMouseCursor, setMouseCursorURI, setToolTipText, validate |
Methods inherited from class nextapp.echo.Component |
add, add, addHierarchyListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getLocale, getParent, indexOf, init, isAncestorOf, isEnabled, isRegistered, isShowing, isVisible, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setEnabled, setFont, setForeground, setIdentifier, setLocale, setVisible, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final nextapp.echo.Insets DEFAULT_INSETS
public static final java.lang.String FOOTER_CHANGED_PROPERTY
public static final java.lang.String INSETS_CHANGED_PROPERTY
public static final java.lang.String RULER_COLOR_CHANGED_PROPERTY
public static final java.lang.String RULER_WIDTH_CHANGED_PROPERTY
public static final java.lang.String TITLE_CHANGED_PROPERTY
public static final java.lang.String STYLE_INSETS
Insets.
public static final java.lang.String STYLE_RULER_COLOR
public static final java.lang.String STYLE_RULER_DRAWN
public static final java.lang.String STYLE_RULER_WIDTH
Constructor Detail |
public BoxSection()
BoxSection
.
public BoxSection(nextapp.echo.Component content)
BoxSection
with the given content
public BoxSection(java.lang.String title)
BoxSection
with with the given title.
public BoxSection(java.lang.String title, nextapp.echo.Component content)
BoxSection
with the given title
and content.
public BoxSection(TitleBar titleBar, nextapp.echo.Component content)
BoxSection
with the given title bar
and content.
Method Detail |
public void applyStyle(nextapp.echo.Style style)
nextapp.echo.Component
style names can be used as well.
applyStyle
in interface Borderable
applyStyle
in class EchoPointComponent
Component.applyStyle(nextapp.echo.Style)
public TitleBar getFooter()
BoxSection
.public nextapp.echo.Insets getInsets()
BoxSection
.public nextapp.echo.Color getRulerColor()
public int getRulerWidth()
public TitleBar getTitle()
BoxSection
.protected void reRegisterComponents(nextapp.echo.Component oldValue, nextapp.echo.Component newValue)
public nextapp.echo.Color getBorderColor()
getBorderColor
in interface Borderable
Color
of the Borderable's
border.Borderable.getBorderColor()
public int getBorderSize()
getBorderSize
in interface Borderable
Borderables's
border.Borderable.getBorderSize()
public int getBorderStyle()
Borderable
getBorderStyle
in interface Borderable
Borderable.getBorderStyle()
public void setBorderColor(nextapp.echo.Color newBorderColor)
Borderable
Color
of the Borderable's
border.
This will also set the left, top, right and bottom border color.
setBorderColor
in interface Borderable
Borderable.setBorderColor(nextapp.echo.Color)
public void setBorderSize(int newBorderSize)
Borderable
Borderables's
border.
This will also set the left, top, right and bottom border size.
setBorderSize
in interface Borderable
Borderable.setBorderSize(int)
public void setBorderStyle(int borderStyle)
Borderable
setBorderStyle
in interface Borderable
Borderable.setBorderStyle(int)
public nextapp.echo.Color getLeftBorderColor()
getLeftBorderColor
in interface Borderable
Color
of the Borderable's
left border.Borderable.getLeftBorderColor()
public int getLeftBorderSize()
getLeftBorderSize
in interface Borderable
Borderables's
left border.Borderable.getLeftBorderSize()
public int getLeftBorderStyle()
getLeftBorderStyle
in interface Borderable
Borderables's
left border.Borderable.getLeftBorderStyle()
public void setLeftBorderColor(nextapp.echo.Color borderColor)
Borderable
Color
of the Borderable's
left border.
setLeftBorderColor
in interface Borderable
Borderable.setLeftBorderColor(nextapp.echo.Color)
public void setLeftBorderSize(int borderSize)
Borderable
Borderables's
left border.
setLeftBorderSize
in interface Borderable
Borderable.setLeftBorderSize(int)
public void setLeftBorderStyle(int borderStyle)
Borderable
Borderables's
left border.
setLeftBorderStyle
in interface Borderable
Borderable.setLeftBorderStyle(int)
public nextapp.echo.Color getTopBorderColor()
getTopBorderColor
in interface Borderable
Color
of the Borderable's
top border.Borderable.getTopBorderColor()
public int getTopBorderSize()
getTopBorderSize
in interface Borderable
Borderables's
top border.Borderable.getTopBorderSize()
public int getTopBorderStyle()
getTopBorderStyle
in interface Borderable
Borderables's
top border.Borderable.getTopBorderStyle()
public void setTopBorderColor(nextapp.echo.Color borderColor)
Borderable
Color
of the Borderable's
top border.
setTopBorderColor
in interface Borderable
Borderable.setTopBorderColor(nextapp.echo.Color)
public void setTopBorderSize(int borderSize)
Borderable
Borderables's
top border.
setTopBorderSize
in interface Borderable
Borderable.setTopBorderSize(int)
public void setTopBorderStyle(int borderStyle)
Borderable
Borderables's
top border.
setTopBorderStyle
in interface Borderable
Borderable.setTopBorderStyle(int)
public nextapp.echo.Color getRightBorderColor()
getRightBorderColor
in interface Borderable
Color
of the Borderable's
right border.Borderable.getRightBorderColor()
public int getRightBorderSize()
getRightBorderSize
in interface Borderable
Borderables's
right border.Borderable.getRightBorderSize()
public int getRightBorderStyle()
getRightBorderStyle
in interface Borderable
Borderables's
right border.Borderable.getRightBorderStyle()
public void setRightBorderColor(nextapp.echo.Color borderColor)
Borderable
Color
of the Borderable's
right border.
setRightBorderColor
in interface Borderable
Borderable.setRightBorderColor(nextapp.echo.Color)
public void setRightBorderSize(int borderSize)
Borderable
Borderables's
right border.
setRightBorderSize
in interface Borderable
Borderable.setRightBorderSize(int)
public void setRightBorderStyle(int borderStyle)
Borderable
Borderables's
right border.
setRightBorderStyle
in interface Borderable
Borderable.setRightBorderStyle(int)
public nextapp.echo.Color getBottomBorderColor()
getBottomBorderColor
in interface Borderable
Color
of the Borderable's
bottom border.Borderable.getBottomBorderColor()
public int getBottomBorderSize()
getBottomBorderSize
in interface Borderable
Borderables's
bottom border.Borderable.getBottomBorderSize()
public int getBottomBorderStyle()
getBottomBorderStyle
in interface Borderable
Borderables's
bottom border.Borderable.getBottomBorderStyle()
public void setBottomBorderColor(nextapp.echo.Color borderColor)
Borderable
Color
of the Borderable's
bottom border.
setBottomBorderColor
in interface Borderable
Borderable.setBottomBorderColor(nextapp.echo.Color)
public void setBottomBorderSize(int borderSize)
Borderable
Borderables's
bottom border.
setBottomBorderSize
in interface Borderable
Borderable.setBottomBorderSize(int)
public void setBottomBorderStyle(int borderStyle)
Borderable
Borderables's
bottom border.
setBottomBorderStyle
in interface Borderable
Borderable.setBottomBorderStyle(int)
public void setFooter(java.lang.String newFooter)
BoxSection
.
public void setFooter(TitleBar newFooter)
BoxSection
.
public void setInsets(nextapp.echo.Insets newValue)
BoxSection
.
public void setRulerColor(nextapp.echo.Color newRulerColor)
newRulerColor
- nextapp.echo.Colorpublic void setRulerWidth(int newRulerWidth)
newRulerWidth
- intpublic void setTitle(java.lang.String newTitle)
BoxSection
.
public void setTitle(TitleBar newTitle)
BoxSection
.
public java.lang.Object set(java.lang.reflect.Field field, java.lang.Object newValue) throws java.lang.Exception
ReflectionSetter
public Object set(Field f, Object newValue) throws Exception { Object oldValue = f.get(this); f.set(this,newValue); return oldValue; }
set
in interface ReflectionSetter
field
- - the field to be setnewValue
- - the new value to be set
java.lang.Exception
ReflectionSetter.set(Field, Object)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |