org.apache.myfaces.tobago.model
Enum TreeSelectable

java.lang.Object
  extended by java.lang.Enum<TreeSelectable>
      extended by org.apache.myfaces.tobago.model.TreeSelectable
All Implemented Interfaces:
Serializable, Comparable<TreeSelectable>

Deprecated. since 2.0.0, please use Selectable

@Deprecated
public enum TreeSelectable
extends Enum<TreeSelectable>


Enum Constant Summary
MULTI
          Deprecated.  
MULTI_LEAF_ONLY
          Deprecated.  
MULTI_SUB_TREE
          Deprecated.  
OFF
          Deprecated.  
SIBLING
          Deprecated.  
SIBLING_LEAF_ONLY
          Deprecated.  
SINGLE
          Deprecated.  
SINGLE_LEAF_ONLY
          Deprecated.  
SINGLE_SUB_TREE
          Deprecated.  
 
Method Summary
 String getValue()
          Deprecated.  
 boolean isSupportedByTree()
          Deprecated.  
 boolean isSupportedByTreeListbox()
          Deprecated.  
static TreeSelectable parse(String name)
          Deprecated.  
static TreeSelectable valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static TreeSelectable[] values()
          Deprecated. 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

OFF

public static final TreeSelectable OFF
Deprecated. 

MULTI

public static final TreeSelectable MULTI
Deprecated. 

SINGLE

public static final TreeSelectable SINGLE
Deprecated. 

MULTI_LEAF_ONLY

public static final TreeSelectable MULTI_LEAF_ONLY
Deprecated. 

SINGLE_LEAF_ONLY

public static final TreeSelectable SINGLE_LEAF_ONLY
Deprecated. 

SIBLING

public static final TreeSelectable SIBLING
Deprecated. 

SIBLING_LEAF_ONLY

public static final TreeSelectable SIBLING_LEAF_ONLY
Deprecated. 

MULTI_SUB_TREE

public static final TreeSelectable MULTI_SUB_TREE
Deprecated. 

SINGLE_SUB_TREE

public static final TreeSelectable SINGLE_SUB_TREE
Deprecated. 
Method Detail

values

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

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

valueOf

public static TreeSelectable valueOf(String name)
Deprecated. 
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

getValue

public String getValue()
Deprecated. 

parse

public static TreeSelectable parse(String name)
                            throws IllegalArgumentException
Deprecated. 
Parameters:
name - Name of the TreeSelectable
Returns:
The matching tree selection (can't be null).
Throws:
IllegalArgumentException - When the name doesn't match any TreeSelectable.

isSupportedByTree

public boolean isSupportedByTree()
Deprecated. 

isSupportedByTreeListbox

public boolean isSupportedByTreeListbox()
Deprecated. 


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.