tecgraf.javautils.gui.tree
Enum Node.FiltrageMode

java.lang.Object
  extended by java.lang.Enum<Node.FiltrageMode>
      extended by tecgraf.javautils.gui.tree.Node.FiltrageMode
All Implemented Interfaces:
Serializable, Comparable<Node.FiltrageMode>
Enclosing interface:
Node

public static enum Node.FiltrageMode
extends Enum<Node.FiltrageMode>

Modo de filtragem: indica ao filtro como proceder em relação a este nó.


Enum Constant Summary
EVALUATE
          Avalie: utilize o algoritmo padrão (Filter.isAccepted(Node)) para decidir se o nó será aceito ou rejeitado.
IGNORE
          Ignore: não utiliza o filtro para decidir se o nó será aceito ou rejeitado.
 
Method Summary
static Node.FiltrageMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Node.FiltrageMode[] 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

EVALUATE

public static final Node.FiltrageMode EVALUATE
Avalie: utilize o algoritmo padrão (Filter.isAccepted(Node)) para decidir se o nó será aceito ou rejeitado.


IGNORE

public static final Node.FiltrageMode IGNORE
Ignore: não utiliza o filtro para decidir se o nó será aceito ou rejeitado. Se pelo um dos seus ancestrais ou seus descendentes for aceito, o nó irá aparecer na árvore, caso contrário, ele não aparece na árvore.

Method Detail

values

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

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

valueOf

public static Node.FiltrageMode 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


Copyright © 2014 Tecgraf/PUC-Rio. All rights reserved.