p3j.gui.misc
Enum NavigationTreeTab

java.lang.Object
  extended by java.lang.Enum<NavigationTreeTab>
      extended by p3j.gui.misc.NavigationTreeTab
All Implemented Interfaces:
Serializable, Comparable<NavigationTreeTab>

public enum NavigationTreeTab
extends Enum<NavigationTreeTab>

The available tabs for the navigation tree on the left-hand side of the GUI.

Author:
Christina Bohk, Roland Ewald

Enum Constant Summary
DB_OVERVIEW
          The overview on all projections in the database.
PROJECTION_OVERVIEW
          The overview on the elements of the projection.
RESULTS_OVERVIEW
          The overview on the results associated with the projection.
 
Method Summary
 int getTabIndex()
          Gets the tab index.
static NavigationTreeTab valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NavigationTreeTab[] 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

DB_OVERVIEW

public static final NavigationTreeTab DB_OVERVIEW
The overview on all projections in the database.


PROJECTION_OVERVIEW

public static final NavigationTreeTab PROJECTION_OVERVIEW
The overview on the elements of the projection.


RESULTS_OVERVIEW

public static final NavigationTreeTab RESULTS_OVERVIEW
The overview on the results associated with the projection.

Method Detail

values

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

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

valueOf

public static NavigationTreeTab 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

getTabIndex

public int getTabIndex()
Gets the tab index.

Returns:
the tab index


Copyright © 2012. All Rights Reserved.