|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.Placement
public final class Placement
An Enumeration class. Use the static final variables as enumeration values: discrete named values from a set of 12 values. Note there are no public constructors, so the final static variables listed below will be the only instances of the class.
Enum
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sas.util.Enum |
---|
com.sas.util.Enum.Editor |
Field Summary | |
---|---|
static Placement |
BOTTOM
Place at the bottom |
static Placement |
BOTTOM_LEFT
Place on the bottom left side |
static Placement |
BOTTOM_RIGHT
Place on the bottom right side |
static int |
count
Number of enumerations. |
static Placement |
LEFTSIDE_BOTTOM
Place on the left side, near the bottom |
static Placement |
LEFTSIDE_CENTER
Place on the leftside, center |
static Placement |
LEFTSIDE_TOP
Place on the left side, near the top |
static Placement |
RIGHTSIDE_BOTTOM
Place on the right side, near the bottom |
static Placement |
RIGHTSIDE_CENTER
Place on the rightside, center |
static Placement |
RIGHTSIDE_TOP
Place on the right side, near the top |
static Placement |
TOP
Place at the top |
static Placement |
TOP_LEFT
Place on the top left side |
static Placement |
TOP_RIGHT
Place on the top right side |
Fields inherited from class com.sas.util.Enum |
---|
next |
Method Summary | |
---|---|
static Placement |
get(int index)
Return the enum corresponding to an index, or ordinal position. |
static Placement |
get(java.lang.String name)
Return the enum corresponding to an enum name |
static Placement |
getEnum(int value)
Return the enum containing a specified value |
static Placement |
getFirst()
Get the first enum in the sequence. |
int |
getIndex()
Return the ordinal position of an enum. |
Placement |
getNext()
Return the next Placement in the sequence |
com.sas.util.Enum |
getNextEnum()
Return the next Placement in the sequence |
static Placement |
read(java.io.ObjectInputStream is)
Deserialization support. |
void |
write(java.io.ObjectOutputStream os)
Serialization support. write a Placement to an ObjectOutputStream. |
Methods inherited from class com.sas.util.Enum |
---|
get, get, getAt, getAt, getEnum, getEnums, getIndex, getValue, setValue, toString, toString |
Field Detail |
---|
public static final int count
public static final Placement RIGHTSIDE_CENTER
public static final Placement LEFTSIDE_CENTER
public static final Placement BOTTOM_RIGHT
public static final Placement BOTTOM_LEFT
public static final Placement TOP_RIGHT
public static final Placement TOP_LEFT
public static final Placement RIGHTSIDE_BOTTOM
public static final Placement RIGHTSIDE_TOP
public static final Placement LEFTSIDE_BOTTOM
public static final Placement LEFTSIDE_TOP
public static final Placement BOTTOM
public static final Placement TOP
Method Detail |
---|
public Placement getNext()
public com.sas.util.Enum getNextEnum()
getNextEnum
in class com.sas.util.Enum
public int getIndex()
getIndex
in class com.sas.util.Enum
public static Placement get(int index)
index
- The relative position [0,12_1]
public static Placement getEnum(int value)
value
- A value of a Placement to find.
public static Placement get(java.lang.String name)
name
- The enumeration name to find
public void write(java.io.ObjectOutputStream os) throws java.io.IOException
os
- an Object Output Stream.
java.io.IOException
public static Placement read(java.io.ObjectInputStream is) throws java.io.IOException
is
- the ObjectInputStream
java.io.IOException
public static Placement getFirst()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |