|
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.Separator
The Separator
class is a Component
that provides a simple separator within menus or between
other Components
It consists of a top line and bottom line, that can have width and color values. It also has an Inset value around it.
Nested Class Summary | |
static class |
Separator.NestedStyleInfo
Nested public static StyleInfo class. |
Field Summary | |
static java.lang.String |
BOTTOM_COLOR_CHANGED_PROPERTY
|
static java.lang.String |
BOTTOM_SIZE_CHANGED_PROPERTY
|
static nextapp.echo.Color |
DEFAULT_BOTTOM_COLOR
the default bottom color |
static int |
DEFAULT_BOTTOM_SIZE
the default bottom size is 1 |
static nextapp.echo.Insets |
DEFAULT_INSETS
the default insets are {4,2} |
static nextapp.echo.Color |
DEFAULT_TOP_COLOR
the default top color |
static int |
DEFAULT_TOP_SIZE
the default top size is 1 |
static java.lang.String |
INSETS_CHANGED_PROPERTY
|
static java.lang.String |
STYLE_BOTTOM_COLOR
A style constant for the BottomColor property. |
static java.lang.String |
STYLE_BOTTOM_SIZE
A style constant for the BottomSize property. |
static java.lang.String |
STYLE_INSETS
A style constant for the Insets property. |
static java.lang.String |
STYLE_TOP_COLOR
A style constant for the TopColor property. |
static java.lang.String |
STYLE_TOP_SIZE
A style constant for the TopSize property. |
static java.lang.String |
TOP_COLOR_CHANGED_PROPERTY
|
static java.lang.String |
TOP_SIZE_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 | |
Separator()
Constructs a Separator . |
Method Summary | |
void |
applyStyle(nextapp.echo.Style style)
|
nextapp.echo.Color |
getBottomColor()
The color of the bottom separator line |
int |
getBottomSize()
The size of the bottom separator line |
nextapp.echo.Insets |
getInsets()
The insets of the separator, spaced as margins around the separator line. |
nextapp.echo.Color |
getTopColor()
The color of the top separator line |
int |
getTopSize()
The size of the top separator line |
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 |
setBottomColor(nextapp.echo.Color color)
|
void |
setBottomSize(int i)
|
void |
setInsets(nextapp.echo.Insets newValue)
|
void |
setTopColor(nextapp.echo.Color color)
|
void |
setTopSize(int i)
|
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 java.lang.String STYLE_BOTTOM_SIZE
int
public static final java.lang.String STYLE_BOTTOM_COLOR
nextapp.echo.Color
public static final java.lang.String STYLE_TOP_SIZE
int
public static final java.lang.String STYLE_TOP_COLOR
nextapp.echo.Color
public static final java.lang.String STYLE_INSETS
nextapp.echo.Insets
public static final nextapp.echo.Color DEFAULT_BOTTOM_COLOR
public static final nextapp.echo.Insets DEFAULT_INSETS
public static final nextapp.echo.Color DEFAULT_TOP_COLOR
public static final int DEFAULT_TOP_SIZE
public static final int DEFAULT_BOTTOM_SIZE
public static final java.lang.String INSETS_CHANGED_PROPERTY
public static final java.lang.String BOTTOM_COLOR_CHANGED_PROPERTY
public static final java.lang.String BOTTOM_SIZE_CHANGED_PROPERTY
public static final java.lang.String TOP_COLOR_CHANGED_PROPERTY
public static final java.lang.String TOP_SIZE_CHANGED_PROPERTY
Constructor Detail |
public Separator()
Separator
.
Method Detail |
public nextapp.echo.Color getBottomColor()
public int getBottomSize()
public nextapp.echo.Color getTopColor()
public int getTopSize()
public void setBottomColor(nextapp.echo.Color color)
color
- public void setBottomSize(int i)
i
- public void setTopColor(nextapp.echo.Color color)
color
- public void setTopSize(int i)
i
- public nextapp.echo.Insets getInsets()
public void setInsets(nextapp.echo.Insets newValue)
newValue
- public void applyStyle(nextapp.echo.Style style)
applyStyle
in interface MouseCursorable
applyStyle
in class EchoPointComponent
Component.applyStyle(nextapp.echo.Style)
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; }
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 |