tecgraf.javautils.gui.panel
Enum ExpandablePanel.Position

java.lang.Object
  extended by java.lang.Enum<ExpandablePanel.Position>
      extended by tecgraf.javautils.gui.panel.ExpandablePanel.Position
All Implemented Interfaces:
Serializable, Comparable<ExpandablePanel.Position>
Enclosing class:
ExpandablePanel

public static enum ExpandablePanel.Position
extends Enum<ExpandablePanel.Position>

Constantes para definir o posicionamento do botão de controle.


Enum Constant Summary
CONTROL_LEFT
          Controle à esquerda do título.
CONTROL_RIGHT
          Controle imediatamente à direita do título.
CONTROL_RIGHTMOST
          Controle à direita do título, junto ao limite do painel (alinhamento "east").
 
Method Summary
static ExpandablePanel.Position valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExpandablePanel.Position[] 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

CONTROL_LEFT

public static final ExpandablePanel.Position CONTROL_LEFT
Controle à esquerda do título.


CONTROL_RIGHT

public static final ExpandablePanel.Position CONTROL_RIGHT
Controle imediatamente à direita do título.


CONTROL_RIGHTMOST

public static final ExpandablePanel.Position CONTROL_RIGHTMOST
Controle à direita do título, junto ao limite do painel (alinhamento "east").

Method Detail

values

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

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

valueOf

public static ExpandablePanel.Position 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.