tecgraf.javautils.gui
Enum GUIUtils.Position

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

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

Posições possíveis da janela em relação ao X (LEFT, CENTER e RIGHT) e ao Y (TOP, MIDDLE e BOTTOM) Alterações aqui devem ser refletidas em GUIUtils.placeWindowAt(Window, Position)


Enum Constant Summary
CENTER_BOTTOM
          No meio e em baixo
CENTER_MIDDLE
          No meio e no centro
CENTER_TOP
          No meio e em cima
LEFT_BOTTOM
          À esquerda e em baixo
LEFT_MIDDLE
          À esquerda e no centro
LEFT_TOP
          À esquerda e em cima
RIGHT_BOTTOM
          À direita e em baixo
RIGHT_MIDDLE
          À direita e no centro
RIGHT_TOP
          À direita e em cima
 
Method Summary
static GUIUtils.Position valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GUIUtils.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

LEFT_TOP

public static final GUIUtils.Position LEFT_TOP
À esquerda e em cima


LEFT_MIDDLE

public static final GUIUtils.Position LEFT_MIDDLE
À esquerda e no centro


LEFT_BOTTOM

public static final GUIUtils.Position LEFT_BOTTOM
À esquerda e em baixo


CENTER_TOP

public static final GUIUtils.Position CENTER_TOP
No meio e em cima


CENTER_MIDDLE

public static final GUIUtils.Position CENTER_MIDDLE
No meio e no centro


CENTER_BOTTOM

public static final GUIUtils.Position CENTER_BOTTOM
No meio e em baixo


RIGHT_TOP

public static final GUIUtils.Position RIGHT_TOP
À direita e em cima


RIGHT_MIDDLE

public static final GUIUtils.Position RIGHT_MIDDLE
À direita e no centro


RIGHT_BOTTOM

public static final GUIUtils.Position RIGHT_BOTTOM
À direita e em baixo

Method Detail

values

public static GUIUtils.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 (GUIUtils.Position c : GUIUtils.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 GUIUtils.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.