org.noos.xing.mydoggy
Enum ToolWindowAnchor

java.lang.Object
  extended by java.lang.Enum<ToolWindowAnchor>
      extended by org.noos.xing.mydoggy.ToolWindowAnchor
All Implemented Interfaces:
Serializable, Comparable<ToolWindowAnchor>

public enum ToolWindowAnchor
extends Enum<ToolWindowAnchor>

Every tool window has an anchor that specifies where the tool is attached. The user can specifies also an index relative to the other tools attached to the same anchor, like a list. Every anchor rapresents a tool window bar where for every tool a representative button is positioned.

Since:
1.0.0
Author:
Angelo De Caro (angelo.decaro@gmail.com)

Enum Constant Summary
BOTTOM
          Self explained.
LEFT
          Self explained.
RIGHT
          Self explained.
TOP
          Self explained.
 
Method Summary
static ToolWindowAnchor valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ToolWindowAnchor[] 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

TOP

public static final ToolWindowAnchor TOP
Self explained.


LEFT

public static final ToolWindowAnchor LEFT
Self explained.


BOTTOM

public static final ToolWindowAnchor BOTTOM
Self explained.


RIGHT

public static final ToolWindowAnchor RIGHT
Self explained.

Method Detail

values

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

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

valueOf

public static ToolWindowAnchor 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 © 2012. All Rights Reserved.