net.sf.latexdraw.actions
Enum ModifyLatexProperties.LatexProperties

java.lang.Object
  extended by java.lang.Enum<ModifyLatexProperties.LatexProperties>
      extended by net.sf.latexdraw.actions.ModifyLatexProperties.LatexProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModifyLatexProperties.LatexProperties>
Enclosing class:
ModifyLatexProperties

public static enum ModifyLatexProperties.LatexProperties
extends java.lang.Enum<ModifyLatexProperties.LatexProperties>

This enumeration defines the different LaTeX properties that can be modified.


Enum Constant Summary
CAPTION
          Modification of the caption.
COMMENT
          Modification of the comments.
LABEL
          Modification of the label.
PACKAGES
          Modification of the packages.
POSITION_HORIZONTAL
          Modification of the horizontal position.
POSITION_VERTICAL
          Modification of the vertical position.
 
Method Summary
abstract  boolean isValueSupported(java.lang.Object value)
           
static ModifyLatexProperties.LatexProperties valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModifyLatexProperties.LatexProperties[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

COMMENT

public static final ModifyLatexProperties.LatexProperties COMMENT
Modification of the comments.


PACKAGES

public static final ModifyLatexProperties.LatexProperties PACKAGES
Modification of the packages.


CAPTION

public static final ModifyLatexProperties.LatexProperties CAPTION
Modification of the caption.


LABEL

public static final ModifyLatexProperties.LatexProperties LABEL
Modification of the label.


POSITION_VERTICAL

public static final ModifyLatexProperties.LatexProperties POSITION_VERTICAL
Modification of the vertical position.


POSITION_HORIZONTAL

public static final ModifyLatexProperties.LatexProperties POSITION_HORIZONTAL
Modification of the horizontal position.

Method Detail

values

public static ModifyLatexProperties.LatexProperties[] 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 (ModifyLatexProperties.LatexProperties c : ModifyLatexProperties.LatexProperties.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ModifyLatexProperties.LatexProperties 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

isValueSupported

public abstract boolean isValueSupported(java.lang.Object value)
Parameters:
value - The value to test.
Returns:
True: the given value corresponds to the excepted value of the property.
Since:
3.0