|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.util.IlEnum
ilog.cpl.graphic.IlpSelectionFocusMode
public class IlpSelectionFocusMode
This class enumerates the possible highlight modes used to render the selection and focus. The selection highlight mode indicates which part of the graphical representation of an object holds the selection and focus.
| Nested Class Summary | |
|---|---|
static class |
IlpSelectionFocusMode.SelectionFocusModeArrayEditor
Static property editor for array of IlpSelectionFocusMode class. |
static class |
IlpSelectionFocusMode.SelectionFocusModeEditor
Static property editor for the IlpSelectionFocusMode class. |
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
IlpSelectionFocusMode()
Default constructor. |
|
IlpSelectionFocusMode(String name)
Creates a new enumeration value. |
|
| Method Summary | |
|---|---|
void |
setName(String name)
Sets the name of this object. |
| Methods inherited from class ilog.util.IlEnum |
|---|
getName, intern, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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.
| Constructor Detail |
|---|
public IlpSelectionFocusMode(String name)
public IlpSelectionFocusMode()
| Method Detail |
|---|
public void setName(String name)
setName in class IlEnum
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||