org.knime.base.node.viz.plotter
Enum LabelPaintUtil.Position

java.lang.Object
  extended by java.lang.Enum<LabelPaintUtil.Position>
      extended by org.knime.base.node.viz.plotter.LabelPaintUtil.Position
All Implemented Interfaces:
Serializable, Comparable<LabelPaintUtil.Position>
Enclosing class:
LabelPaintUtil

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

Possible positions of the label.

Author:
Fabian Dill, University of Konstanz

Enum Constant Summary
BOTTOM
          Label on the bottom of the coordinate.
LEFT
          Label on the left side of the coordinate.
RIGHT
          Label on top of the coordinate.
TOP
          Label on the right side of the coordinate.
 
Method Summary
static LabelPaintUtil.Position valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LabelPaintUtil.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

public static final LabelPaintUtil.Position LEFT
Label on the left side of the coordinate.


BOTTOM

public static final LabelPaintUtil.Position BOTTOM
Label on the bottom of the coordinate.


TOP

public static final LabelPaintUtil.Position TOP
Label on the right side of the coordinate.


RIGHT

public static final LabelPaintUtil.Position RIGHT
Label on top of the coordinate.

Method Detail

values

public static LabelPaintUtil.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 (LabelPaintUtil.Position c : LabelPaintUtil.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 LabelPaintUtil.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, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.