org.apertereports.ui
Enum UiFactory.FAction

java.lang.Object
  extended by java.lang.Enum<UiFactory.FAction>
      extended by org.apertereports.ui.UiFactory.FAction
All Implemented Interfaces:
Serializable, Comparable<UiFactory.FAction>
Enclosing class:
UiFactory

public static enum UiFactory.FAction
extends Enum<UiFactory.FAction>

Defines available actions performed on created components


Enum Constant Summary
ALIGN_CENTER
          Align to center.
ALIGN_LEFT
          Align to left.
ALIGN_RIGTH
          Align to right.
SET_EXPAND_RATIO_1_0
          Set expand ration to 1.0.
SET_FULL_WIDTH
          Set full width action
SET_INVISIBLE
          Set the component invisible
SET_SPACING
          Set spacing action.
 
Method Summary
static UiFactory.FAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UiFactory.FAction[] 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

ALIGN_LEFT

public static final UiFactory.FAction ALIGN_LEFT
Align to left. Available only for AbstractOrderedLayout parent component


ALIGN_CENTER

public static final UiFactory.FAction ALIGN_CENTER
Align to center. Available only for AbstractOrderedLayout parent component


ALIGN_RIGTH

public static final UiFactory.FAction ALIGN_RIGTH
Align to right. Available only for AbstractOrderedLayout parent component


SET_EXPAND_RATIO_1_0

public static final UiFactory.FAction SET_EXPAND_RATIO_1_0
Set expand ration to 1.0. Available only for AbstractOrderedLayout parent component


SET_FULL_WIDTH

public static final UiFactory.FAction SET_FULL_WIDTH
Set full width action


SET_INVISIBLE

public static final UiFactory.FAction SET_INVISIBLE
Set the component invisible


SET_SPACING

public static final UiFactory.FAction SET_SPACING
Set spacing action. Available only for AbstractOrderedLayout components

Method Detail

values

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

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

valueOf

public static UiFactory.FAction 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 © 2011-2013. All Rights Reserved.