public class IlpSelectionFocusMode extends IlEnum
Modifier and Type | Class and Description |
---|---|
static class |
IlpSelectionFocusMode.SelectionFocusModeArrayEditor
Static property editor for array of
IlpSelectionFocusMode class. |
static class |
IlpSelectionFocusMode.SelectionFocusModeEditor
Static property editor for the
IlpSelectionFocusMode class. |
Modifier and Type | Field and Description |
---|---|
static IlpSelectionFocusMode |
BASE_SELECTION_FOCUS_MODE
Using this mode, the selection is rendered by highlighting the base of
the graphical representation.
|
static IlpSelectionFocusMode |
CELL_SELECTION_FOCUS_MODE
Using this mode, the selection is rendered by highlighting the whole
cell.
|
static IlpSelectionFocusMode |
LABEL_SELECTION_FOCUS_MODE
Using this mode, the selection is rendered by highlighting only the
label.
|
static IlEnumInfo |
metainfo
Metainformation about selection focus mode.
|
Constructor and Description |
---|
IlpSelectionFocusMode()
Default constructor.
|
IlpSelectionFocusMode(String name)
Creates a new enumeration value.
|
Modifier and Type | Method and Description |
---|---|
void |
setName(String name)
Sets the name of this object.
|
public static final IlEnumInfo metainfo
public static final IlpSelectionFocusMode CELL_SELECTION_FOCUS_MODE
This highlight mode is implemented by:
IlpTreeCellRenderer
for the Tree componentIlpTableCellRenderer
for the Table component
The Network and Equipment components do not provide the notion of cell and do not handle this highlight mode.
When implementing your own IlpGraphicRenderer
you should
ignore the selected state when the selection highlight mode has this value.
public static final IlpSelectionFocusMode LABEL_SELECTION_FOCUS_MODE
IlpGraphicRenderer
.
When implementing your own IlpGraphicRenderer
you should
handle this mode by changing the background and foreground color of the
label when the object is selected, and draw the focus border around the
label when the object has the focus.
public static final IlpSelectionFocusMode BASE_SELECTION_FOCUS_MODE
IlpGraphicRenderer
.
When implementing your own IlpGraphicRenderer
you should
handle this mode by enhancing the base of the graphical representation of
the rendered object when the object is selected, and draw the focus
border around the base when the object has the focus.
public IlpSelectionFocusMode(String name)
public IlpSelectionFocusMode()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.