org.ujac.chart
Class ChartAttributeDefinition

java.lang.Object
  extended by org.ujac.chart.ChartAttributeDefinition
All Implemented Interfaces:
UjacTypes

public class ChartAttributeDefinition
extends Object
implements UjacTypes

Name: ChartAttributeDefinition
Description: Defines chart attributes.

Author:
lauerc

Field Summary
static int TYPE_COLOR
          Constant for Color type.
static int TYPE_FONT
          Constant for font type.
static int TYPE_FORMAT
          Constant for Format type.
static int TYPE_TEXT_ITEM
          Constant for text items.
 
Fields inherited from interface org.ujac.util.UjacTypes
TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NAME_BOOLEAN, TYPE_NAME_DATE, TYPE_NAME_DOUBLE, TYPE_NAME_FLOAT, TYPE_NAME_INT, TYPE_NAME_LONG, TYPE_NAME_OBJECT, TYPE_NAME_SHORT, TYPE_NAME_STRING, TYPE_NAME_TABLE, TYPE_NAME_TIME, TYPE_NAME_TIMESTAMP, TYPE_OBJECT, TYPE_SHORT, TYPE_STRING, TYPE_TABLE, TYPE_TIME, TYPE_TIMESTAMP
 
Constructor Summary
ChartAttributeDefinition(String name, int type, boolean list, boolean optional)
          Constructs a ChartAttributeDefinition instance with specific attributes.
 
Method Summary
 String getName()
          Gets the parameter name.
 int getType()
          Gets the parameter type.
 boolean isList()
          Gets the list flag
 boolean isOptional()
          Gets the optional flag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_FONT

public static final int TYPE_FONT
Constant for font type.

See Also:
Constant Field Values

TYPE_FORMAT

public static final int TYPE_FORMAT
Constant for Format type.

See Also:
Constant Field Values

TYPE_COLOR

public static final int TYPE_COLOR
Constant for Color type.

See Also:
Constant Field Values

TYPE_TEXT_ITEM

public static final int TYPE_TEXT_ITEM
Constant for text items.

See Also:
Constant Field Values
Constructor Detail

ChartAttributeDefinition

public ChartAttributeDefinition(String name,
                                int type,
                                boolean list,
                                boolean optional)
Constructs a ChartAttributeDefinition instance with specific attributes.

Parameters:
name - The attribute name.
type - The attribute type.
list - The list flag.
optional - The optional flag.
Method Detail

getName

public String getName()
Gets the parameter name.

Returns:
The parameter name.

getType

public int getType()
Gets the parameter type.

Returns:
The parameter type.

isList

public boolean isList()
Gets the list flag

Returns:
The list flag.

isOptional

public boolean isOptional()
Gets the optional flag

Returns:
The optional flag.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.