org.efaps.ui.wicket.behaviors.dojo
Enum EditorBehavior.MenuCommands

java.lang.Object
  extended by java.lang.Enum<EditorBehavior.MenuCommands>
      extended by org.efaps.ui.wicket.behaviors.dojo.EditorBehavior.MenuCommands
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EditorBehavior.MenuCommands>
Enclosing class:
EditorBehavior

public static enum EditorBehavior.MenuCommands
extends java.lang.Enum<EditorBehavior.MenuCommands>

Enum for the different MenuCommands of a dojo Editor.


Enum Constant Summary
BOLD
          bold.
COPY
          paste.
CREATELINK
          createLink.
CUT
          cut.
DELETE
          delete.
HR
          insertHorizontalRule.
INDENT
          indent.
ITALIC
          italic.
JUSTIFYCENTER
          justifyCenter.
JUSTIFYFULL
          justifyFull.
JUSTIFYLEFT
          justifyLeft.
JUSTIFYRIGHT
          justifyRight.
ORDEREDLIST
          insertOrderedList.
OUTENT
          outdent.
PASTE
          paste.
REDO
          redo.
REMOVEFORMAT
          removeFormat.
SELECTALL
          selectAll.
SEPERATOR
          |.
STRIKETHROUGH
          strikethrough.
SUBSRCIPT
          subscript.
SUPERSCRIPT
          superscript.
UNDERLINE
          underline.
UNDO
          undo.
UNLINK
          unlink.
UNORDERLIST
          insertUnorderedList.
 
Method Summary
 java.lang.String getKey()
          Getter method for instance variable key.
static EditorBehavior.MenuCommands valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EditorBehavior.MenuCommands[] 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

UNDO

public static final EditorBehavior.MenuCommands UNDO
undo.


REDO

public static final EditorBehavior.MenuCommands REDO
redo.


CUT

public static final EditorBehavior.MenuCommands CUT
cut.


COPY

public static final EditorBehavior.MenuCommands COPY
paste.


PASTE

public static final EditorBehavior.MenuCommands PASTE
paste.


SELECTALL

public static final EditorBehavior.MenuCommands SELECTALL
selectAll.


BOLD

public static final EditorBehavior.MenuCommands BOLD
bold.


ITALIC

public static final EditorBehavior.MenuCommands ITALIC
italic.


UNDERLINE

public static final EditorBehavior.MenuCommands UNDERLINE
underline.


STRIKETHROUGH

public static final EditorBehavior.MenuCommands STRIKETHROUGH
strikethrough.


SUBSRCIPT

public static final EditorBehavior.MenuCommands SUBSRCIPT
subscript.


SUPERSCRIPT

public static final EditorBehavior.MenuCommands SUPERSCRIPT
superscript.


REMOVEFORMAT

public static final EditorBehavior.MenuCommands REMOVEFORMAT
removeFormat.


ORDEREDLIST

public static final EditorBehavior.MenuCommands ORDEREDLIST
insertOrderedList.


UNORDERLIST

public static final EditorBehavior.MenuCommands UNORDERLIST
insertUnorderedList.


HR

public static final EditorBehavior.MenuCommands HR
insertHorizontalRule.


INDENT

public static final EditorBehavior.MenuCommands INDENT
indent.


OUTENT

public static final EditorBehavior.MenuCommands OUTENT
outdent.


JUSTIFYLEFT

public static final EditorBehavior.MenuCommands JUSTIFYLEFT
justifyLeft.


JUSTIFYRIGHT

public static final EditorBehavior.MenuCommands JUSTIFYRIGHT
justifyRight.


JUSTIFYCENTER

public static final EditorBehavior.MenuCommands JUSTIFYCENTER
justifyCenter.


JUSTIFYFULL

public static final EditorBehavior.MenuCommands JUSTIFYFULL
justifyFull.


CREATELINK

public static final EditorBehavior.MenuCommands CREATELINK
createLink.


UNLINK

public static final EditorBehavior.MenuCommands UNLINK
unlink.


DELETE

public static final EditorBehavior.MenuCommands DELETE
delete.


SEPERATOR

public static final EditorBehavior.MenuCommands SEPERATOR
|.

Method Detail

values

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

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

valueOf

public static EditorBehavior.MenuCommands 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

getKey

public java.lang.String getKey()
Getter method for instance variable key.

Returns:
value of instance variable key


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.