public enum EGraphicComponent extends java.lang.Enum<EGraphicComponent> implements IEEnum
These is the enumeration of all possible containers which a displayed swing
frame can contain. It is returned by the method of
IViewComponent.fetchGraphicComponent()
.
Here is a list of all components:
EGraphicComponent instance | Name |
---|---|
LABEL_FIXED | An ordinary graphical label component. |
BUTTON_FIXED | An ordinary graphical button component. |
SLIDER_FIXED | An ordinary graphical slider component. |
CHECKBOX_FIXED | An ordinary graphical check box component. |
LIST_FIXED | An ordinary graphical list component. |
#LIST_MODEL | An ordinary graphical list model, which is NOT a component. |
SCROLLPANE_FIXED | A complex graphical scroll pane component. |
TABBEDPANE_FIXED | A complex graphical tab pane component. |
PANEL_FIXED | A complex graphical panel component. |
PANEL | A complex graphical panel component. |
TEXT_AREA | A complex graphical text area component. |
All of these components are currently returned by the java SWING library. But they can also be returned by the SWI or anything else.
IViewComponent.fetchGraphicComponent()
Enum Constant and Description |
---|
BUTTON_FIXED |
CHECKBOX_FIXED |
KNOB_FIXED |
LABEL_FIXED |
LIST_FIXED |
PANEL |
PANEL_FIXED |
RADIOBUTTON_FIXED |
SCROLLPANE_FIXED |
SLIDER_FIXED |
SPINNER |
TABBEDPANE_FIXED |
TEXT_AREA |
WHEELSWITCH_FIXED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName(EName description_)
Returns according to the enumeration of the description the corresponding
string value.
|
void |
putName(EName description_,
java.lang.String name_)
Sets to the according enumeration the string value of the corresponding
element.
|
static EGraphicComponent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EGraphicComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EGraphicComponent LABEL_FIXED
public static final EGraphicComponent BUTTON_FIXED
public static final EGraphicComponent SLIDER_FIXED
public static final EGraphicComponent CHECKBOX_FIXED
public static final EGraphicComponent RADIOBUTTON_FIXED
public static final EGraphicComponent LIST_FIXED
public static final EGraphicComponent SCROLLPANE_FIXED
public static final EGraphicComponent TABBEDPANE_FIXED
public static final EGraphicComponent PANEL_FIXED
public static final EGraphicComponent PANEL
public static final EGraphicComponent TEXT_AREA
public static final EGraphicComponent SPINNER
public static final EGraphicComponent WHEELSWITCH_FIXED
public static final EGraphicComponent KNOB_FIXED
public static EGraphicComponent[] values()
for (EGraphicComponent c : EGraphicComponent.values()) System.out.println(c);
public static EGraphicComponent valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName(EName description_) throws EnumerationNotUsedException
IEEnum
null
value
is returned, except the enumeration of ID
which will always
return a value.getName
in interface IEEnum
description_
- The corresponding enumeration type which you wanted
to get. For more information see at the EName
enumeration.EnumerationNotUsedException
- If the enumeration indeed exists but
is not used these exception is thrown.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft