planet.generic.commonapi.GML
Class GMLDefaultProperties

java.lang.Object
  extended byplanet.generic.commonapi.GML.GMLDefaultProperties
All Implemented Interfaces:
PropertiesInitializer, java.io.Serializable

public class GMLDefaultProperties
extends java.lang.Object
implements PropertiesInitializer

Default graphical properties for GML graphs.

Author:
Marc Sanchez , Jordi Pujol
See Also:
Serialized Form

Field Summary
static java.lang.String ALTERNATIVE_FILL
          Alternative Fill Color For the Shape Of The Node
 java.lang.String alternativeFill
          Alternative Fill Color For the Shape Of The Node
static java.lang.String DEFAULT_ALTERNATIVE_FILL
          Alternative Fill Color For the Shape Of The Node (in #'RRGGBB' format)
static java.lang.String DEFAULT_FILL
          Fill Color For The Shape Of the Node (in #'RRGGBB' format)
static java.lang.String DEFAULT_FONT_NAME
          Font Name Of the Node Id Label
static java.lang.String DEFAULT_FONT_SIZE
          Font Size Of the Node Id Label
static java.lang.String DEFAULT_HEIGHT
          Height Of The Virtual Bounding Box
static java.lang.String DEFAULT_MINIMAL_NODE_DISTANCE
          Minimal Node Distance arranged on a circle
static java.lang.String DEFAULT_OUTLINE
          Color Of The Border Line (in #'RRGGBB' format)
static java.lang.String DEFAULT_SHAPE
          Shape Of The Node
static java.lang.String DEFAULT_WIDTH
          Width Of The Virtual Bounding Box
 java.lang.String fill
          Fill Color For The Shape Of the Node
static java.lang.String FILL
          Fill Color For The Shape Of the Node
static java.lang.String FONT_NAME
          Font Name Of the Node Id Label
static int FONT_SIZE
          Font Size Of the Node Id Label
 java.lang.String fontName
          Font Name Of the Node Id Label
 int fontSize
          Font Size Of the Node Id Label
 float h
          Height Of The Virtual Bounding Box
static float HEIGHT
          Height Of The Virtual Bounding Box
static int MINIMAL_NODE_DISTANCE
          Minimal Node Distance arranged on a circle
 int minimalNodeDistance
          Minimal Node Distance arranged on a circle
 java.lang.String outline
          Color Of The Border Line
static java.lang.String OUTLINE
          Color Of The Border Line
 java.lang.String shape
          Shape Of The Node
static java.lang.String SHAPE
          Shape Of The Node
 float w
          Width Of The Virtual Bounding Box.
static float WIDTH
          Width Of The Virtual Bounding Box.
 
Constructor Summary
GMLDefaultProperties()
           
 
Method Summary
 void init(java.lang.String propertiesFile)
          Loads the default values specified in the propertiesFile for GML purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_WIDTH

public static final java.lang.String DEFAULT_WIDTH
Width Of The Virtual Bounding Box

See Also:
Constant Field Values

DEFAULT_HEIGHT

public static final java.lang.String DEFAULT_HEIGHT
Height Of The Virtual Bounding Box

See Also:
Constant Field Values

DEFAULT_SHAPE

public static final java.lang.String DEFAULT_SHAPE
Shape Of The Node

See Also:
Constant Field Values

DEFAULT_FILL

public static final java.lang.String DEFAULT_FILL
Fill Color For The Shape Of the Node (in #'RRGGBB' format)

See Also:
Constant Field Values

DEFAULT_ALTERNATIVE_FILL

public static final java.lang.String DEFAULT_ALTERNATIVE_FILL
Alternative Fill Color For the Shape Of The Node (in #'RRGGBB' format)

See Also:
Constant Field Values

DEFAULT_OUTLINE

public static final java.lang.String DEFAULT_OUTLINE
Color Of The Border Line (in #'RRGGBB' format)

See Also:
Constant Field Values

DEFAULT_FONT_SIZE

public static final java.lang.String DEFAULT_FONT_SIZE
Font Size Of the Node Id Label

See Also:
Constant Field Values

DEFAULT_FONT_NAME

public static final java.lang.String DEFAULT_FONT_NAME
Font Name Of the Node Id Label

See Also:
Constant Field Values

DEFAULT_MINIMAL_NODE_DISTANCE

public static final java.lang.String DEFAULT_MINIMAL_NODE_DISTANCE
Minimal Node Distance arranged on a circle

See Also:
Constant Field Values

WIDTH

public static final float WIDTH
Width Of The Virtual Bounding Box.

See Also:
Constant Field Values

HEIGHT

public static final float HEIGHT
Height Of The Virtual Bounding Box

See Also:
Constant Field Values

SHAPE

public static final java.lang.String SHAPE
Shape Of The Node

See Also:
Constant Field Values

FILL

public static final java.lang.String FILL
Fill Color For The Shape Of the Node

See Also:
Constant Field Values

ALTERNATIVE_FILL

public static final java.lang.String ALTERNATIVE_FILL
Alternative Fill Color For the Shape Of The Node

See Also:
Constant Field Values

OUTLINE

public static final java.lang.String OUTLINE
Color Of The Border Line

See Also:
Constant Field Values

FONT_SIZE

public static final int FONT_SIZE
Font Size Of the Node Id Label

See Also:
Constant Field Values

FONT_NAME

public static final java.lang.String FONT_NAME
Font Name Of the Node Id Label

See Also:
Constant Field Values

MINIMAL_NODE_DISTANCE

public static final int MINIMAL_NODE_DISTANCE
Minimal Node Distance arranged on a circle

See Also:
Constant Field Values

w

public float w
Width Of The Virtual Bounding Box.


h

public float h
Height Of The Virtual Bounding Box


shape

public java.lang.String shape
Shape Of The Node


fill

public java.lang.String fill
Fill Color For The Shape Of the Node


alternativeFill

public java.lang.String alternativeFill
Alternative Fill Color For the Shape Of The Node


outline

public java.lang.String outline
Color Of The Border Line


fontSize

public int fontSize
Font Size Of the Node Id Label


fontName

public java.lang.String fontName
Font Name Of the Node Id Label


minimalNodeDistance

public int minimalNodeDistance
Minimal Node Distance arranged on a circle

Constructor Detail

GMLDefaultProperties

public GMLDefaultProperties()
Method Detail

init

public void init(java.lang.String propertiesFile)
          throws InitializationException
Loads the default values specified in the propertiesFile for GML purposes.

Specified by:
init in interface PropertiesInitializer
Parameters:
propertiesFile - File with all GML configuration properties. This file must follow java.util.Properties scheme. If it is null, nothing is done.
Throws:
InitializationException - if an error occurs during the initialization of the different properties.