@PublicAPI public enum RenderingStyle extends java.lang.Enum<RenderingStyle>
Enum Constant and Description |
---|
BALLSTICK
Stick rendering style with balls at atoms
|
SPACEFILL
Spacefill rendering style.
|
STICKS
Stick rendering style.
|
WIREFRAME
Wireframe rendering style.
|
Modifier and Type | Method and Description |
---|---|
static RenderingStyle |
get(int dispopts) |
static int |
getDispOptsMask() |
static int |
getDispOptsOffset()
Get the offset used to store the settings in the dispopts integer.
|
static RenderingStyle |
getFromFlag(int flag) |
boolean |
lessOrEquals(RenderingStyle style) |
boolean |
lt(RenderingStyle style) |
int |
set(int dispopts) |
static java.lang.String[] |
styles()
Return the rendering style names as string values.
|
int |
toInt() |
static RenderingStyle |
toRenderingStyle(java.lang.String str) |
java.lang.String |
toString() |
static RenderingStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderingStyle WIREFRAME
public static final RenderingStyle STICKS
public static final RenderingStyle BALLSTICK
public static final RenderingStyle SPACEFILL
public static RenderingStyle[] values()
for (RenderingStyle c : RenderingStyle.values()) System.out.println(c);
public static RenderingStyle 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 toString()
toString
in class java.lang.Enum<RenderingStyle>
public int toInt()
public int set(int dispopts)
public boolean lt(RenderingStyle style)
public boolean lessOrEquals(RenderingStyle style)
public static java.lang.String[] styles()
public static int getDispOptsOffset()
public static int getDispOptsMask()
public static RenderingStyle get(int dispopts)
public static RenderingStyle toRenderingStyle(java.lang.String str)
public static RenderingStyle getFromFlag(int flag)