net.sf.latexdraw.glib.models.interfaces
Enum IAxes.AxesStyle
java.lang.Object
java.lang.Enum<IAxes.AxesStyle>
net.sf.latexdraw.glib.models.interfaces.IAxes.AxesStyle
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<IAxes.AxesStyle>
- Enclosing interface:
- IAxes
public static enum IAxes.AxesStyle
- extends java.lang.Enum<IAxes.AxesStyle>
Defines the different kinds of axes.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AXES
public static final IAxes.AxesStyle AXES
FRAME
public static final IAxes.AxesStyle FRAME
NONE
public static final IAxes.AxesStyle NONE
values
public static IAxes.AxesStyle[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (IAxes.AxesStyle c : IAxes.AxesStyle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IAxes.AxesStyle valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
supportsArrows
public abstract boolean supportsArrows()
- Returns:
- True if the axe style supports arrows.
- Since:
- 3.0
getPSTToken
public abstract java.lang.String getPSTToken()
- Returns:
- The PST token corresponding to the axe style.
- Since:
- 3.0
getStyle
public static IAxes.AxesStyle getStyle(java.lang.String style)
- Parameters:
style
- The PST token or the name of the style (e.g. AXES.toString()) corresponding to the style to get.
- Returns:
- The corresponding style or null.
- Since:
- 3.0