http://www.jpicedt.org

jpicedt.ui.util
Enum RunExternalCommand.Command

java.lang.Object
  extended by java.lang.Enum<RunExternalCommand.Command>
      extended by jpicedt.ui.util.RunExternalCommand.Command
All Implemented Interfaces:
Serializable, Comparable<RunExternalCommand.Command>
Enclosing class:
RunExternalCommand

public static enum RunExternalCommand.Command
extends Enum<RunExternalCommand.Command>

Enum for predefined external commands


Enum Constant Summary
BITMAP_CREATION
           
DVIPS
           
DVIVIEWER
           
GHOSTVIEW
           
LATEX
           
USER1
           
USER2
           
 
Method Summary
 String getDefaultParams()
          Returns default commands parameters
 String getKeyForParams()
          Returns a key used to retrieve/store command parameters from/to a Properties object
 String getName()
          Returns the name of the external command (to be i18n'd), also used by ActionLocalizer
 boolean hasToWriteTmpTeXFile()
          Returns whether this command requires first writing a temp TeX file
static RunExternalCommand.Command valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RunExternalCommand.Command[] 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

LATEX

public static final RunExternalCommand.Command LATEX

DVIVIEWER

public static final RunExternalCommand.Command DVIVIEWER

DVIPS

public static final RunExternalCommand.Command DVIPS

GHOSTVIEW

public static final RunExternalCommand.Command GHOSTVIEW

USER1

public static final RunExternalCommand.Command USER1

USER2

public static final RunExternalCommand.Command USER2

BITMAP_CREATION

public static final RunExternalCommand.Command BITMAP_CREATION
Method Detail

values

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

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

valueOf

public static RunExternalCommand.Command valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getName

public String getName()
Returns the name of the external command (to be i18n'd), also used by ActionLocalizer


getKeyForParams

public String getKeyForParams()
Returns a key used to retrieve/store command parameters from/to a Properties object


getDefaultParams

public String getDefaultParams()
Returns default commands parameters


hasToWriteTmpTeXFile

public boolean hasToWriteTmpTeXFile()
Returns whether this command requires first writing a temp TeX file


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org