org.eclipse.birt.chart.model.attribute
Enum StyledComponent

java.lang.Object
  extended by java.lang.Enum<StyledComponent>
      extended by org.eclipse.birt.chart.model.attribute.StyledComponent
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StyledComponent>, org.eclipse.emf.common.util.Enumerator

public enum StyledComponent
extends java.lang.Enum<StyledComponent>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'Styled Component', and utility methods for working with them. This type represents the possible values for the legend item type.

See Also:
AttributePackage.getStyledComponent()

Enum Constant Summary
AXIS_LABEL_LITERAL
          The 'Axis Label' literal object.
AXIS_LINE_LITERAL
          The 'Axis Line' literal object.
AXIS_TITLE_LITERAL
          The 'Axis Title' literal object.
CHART_ALL_LITERAL
          The 'Chart All' literal object.
CHART_BACKGROUND_LITERAL
          The 'Chart Background' literal object.
CHART_TITLE_LITERAL
          The 'Chart Title' literal object.
LEGEND_BACKGROUND_LITERAL
          The 'Legend Background' literal object.
LEGEND_LABEL_LITERAL
          The 'Legend Label' literal object.
PLOT_BACKGROUND_LITERAL
          The 'Plot Background' literal object.
SERIES_LABEL_LITERAL
          The 'Series Label' literal object.
SERIES_TITLE_LITERAL
          The 'Series Title' literal object.
 
Field Summary
static int AXIS_LABEL
          The 'Axis Label' literal value.
static int AXIS_LINE
          The 'Axis Line' literal value.
static int AXIS_TITLE
          The 'Axis Title' literal value.
static int CHART_ALL
          The 'Chart All' literal value.
static int CHART_BACKGROUND
          The 'Chart Background' literal value.
static int CHART_TITLE
          The 'Chart Title' literal value.
static int LEGEND_BACKGROUND
          The 'Legend Background' literal value.
static int LEGEND_LABEL
          The 'Legend Label' literal value.
static int PLOT_BACKGROUND
          The 'Plot Background' literal value.
static int SERIES_LABEL
          The 'Series Label' literal value.
static int SERIES_TITLE
          The 'Series Title' literal value.
static java.util.List<StyledComponent> VALUES
          A public read-only list of all the 'Styled Component' enumerators.
 
Method Summary
static StyledComponent get(int value)
          Returns the 'Styled Component' literal with the specified integer value.
static StyledComponent get(java.lang.String literal)
          Returns the 'Styled Component' literal with the specified literal value.
static StyledComponent getByName(java.lang.String name)
          Returns the 'Styled Component' literal with the specified name.
 java.lang.String getLiteral()
           
 java.lang.String getName()
           
 int getValue()
           
 java.lang.String toString()
          Returns the literal value of the enumerator, which is its string representation.
static StyledComponent valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StyledComponent[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHART_ALL_LITERAL

public static final StyledComponent CHART_ALL_LITERAL
The 'Chart All' literal object.

See Also:
CHART_ALL

CHART_TITLE_LITERAL

public static final StyledComponent CHART_TITLE_LITERAL
The 'Chart Title' literal object.

If the meaning of 'Chart Title' literal object isn't clear, there really should be more of a description here...

See Also:
CHART_TITLE

CHART_BACKGROUND_LITERAL

public static final StyledComponent CHART_BACKGROUND_LITERAL
The 'Chart Background' literal object.

If the meaning of 'Chart Background' literal object isn't clear, there really should be more of a description here...

See Also:
CHART_BACKGROUND

PLOT_BACKGROUND_LITERAL

public static final StyledComponent PLOT_BACKGROUND_LITERAL
The 'Plot Background' literal object.

If the meaning of 'Plot Background' literal object isn't clear, there really should be more of a description here...

See Also:
PLOT_BACKGROUND

LEGEND_BACKGROUND_LITERAL

public static final StyledComponent LEGEND_BACKGROUND_LITERAL
The 'Legend Background' literal object.

If the meaning of 'Legend Background' literal object isn't clear, there really should be more of a description here...

See Also:
LEGEND_BACKGROUND

LEGEND_LABEL_LITERAL

public static final StyledComponent LEGEND_LABEL_LITERAL
The 'Legend Label' literal object.

If the meaning of 'Legend Label' literal object isn't clear, there really should be more of a description here...

See Also:
LEGEND_LABEL

AXIS_TITLE_LITERAL

public static final StyledComponent AXIS_TITLE_LITERAL
The 'Axis Title' literal object.

If the meaning of 'Axis Title' literal object isn't clear, there really should be more of a description here...

See Also:
AXIS_TITLE

AXIS_LABEL_LITERAL

public static final StyledComponent AXIS_LABEL_LITERAL
The 'Axis Label' literal object.

If the meaning of 'Axis Label' literal object isn't clear, there really should be more of a description here...

See Also:
AXIS_LABEL

AXIS_LINE_LITERAL

public static final StyledComponent AXIS_LINE_LITERAL
The 'Axis Line' literal object.

If the meaning of 'Axis Line' literal object isn't clear, there really should be more of a description here...

See Also:
AXIS_LINE

SERIES_TITLE_LITERAL

public static final StyledComponent SERIES_TITLE_LITERAL
The 'Series Title' literal object.

If the meaning of 'Series Title' literal object isn't clear, there really should be more of a description here...

See Also:
SERIES_TITLE

SERIES_LABEL_LITERAL

public static final StyledComponent SERIES_LABEL_LITERAL
The 'Series Label' literal object.

If the meaning of 'Series Label' literal object isn't clear, there really should be more of a description here...

See Also:
SERIES_LABEL
Field Detail

CHART_ALL

public static final int CHART_ALL
The 'Chart All' literal value.

If the meaning of 'Chart All' literal object isn't clear, there really should be more of a description here...

See Also:
CHART_ALL_LITERAL, Constant Field Values

CHART_TITLE

public static final int CHART_TITLE
The 'Chart Title' literal value.

See Also:
CHART_TITLE_LITERAL, Constant Field Values

CHART_BACKGROUND

public static final int CHART_BACKGROUND
The 'Chart Background' literal value.

See Also:
CHART_BACKGROUND_LITERAL, Constant Field Values

PLOT_BACKGROUND

public static final int PLOT_BACKGROUND
The 'Plot Background' literal value.

See Also:
PLOT_BACKGROUND_LITERAL, Constant Field Values

LEGEND_BACKGROUND

public static final int LEGEND_BACKGROUND
The 'Legend Background' literal value.

See Also:
LEGEND_BACKGROUND_LITERAL, Constant Field Values

LEGEND_LABEL

public static final int LEGEND_LABEL
The 'Legend Label' literal value.

See Also:
LEGEND_LABEL_LITERAL, Constant Field Values

AXIS_TITLE

public static final int AXIS_TITLE
The 'Axis Title' literal value.

See Also:
AXIS_TITLE_LITERAL, Constant Field Values

AXIS_LABEL

public static final int AXIS_LABEL
The 'Axis Label' literal value.

See Also:
AXIS_LABEL_LITERAL, Constant Field Values

AXIS_LINE

public static final int AXIS_LINE
The 'Axis Line' literal value.

See Also:
AXIS_LINE_LITERAL, Constant Field Values

SERIES_TITLE

public static final int SERIES_TITLE
The 'Series Title' literal value.

See Also:
SERIES_TITLE_LITERAL, Constant Field Values

SERIES_LABEL

public static final int SERIES_LABEL
The 'Series Label' literal value.

See Also:
SERIES_LABEL_LITERAL, Constant Field Values

VALUES

public static final java.util.List<StyledComponent> VALUES
A public read-only list of all the 'Styled Component' enumerators.

Method Detail

values

public static final StyledComponent[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(StyledComponent c : StyledComponent.values())
        System.out.println(c);

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

valueOf

public static StyledComponent valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static StyledComponent get(java.lang.String literal)
Returns the 'Styled Component' literal with the specified literal value.


getByName

public static StyledComponent getByName(java.lang.String name)
Returns the 'Styled Component' literal with the specified name.


get

public static StyledComponent get(int value)
Returns the 'Styled Component' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<StyledComponent>


Copyright © 2005-2008 Actuate Corp. All rights reserved.