planet.generic.commonapi.results
Class ResultsGMLProperties

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

public class ResultsGMLProperties
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
          Default value: Alternative Fill Color For the Shape Of The Node
 java.lang.String alternativeFill
          Alternative Fill Color For the Shape Of The Node
 java.lang.String fill
          Fill Color For The Shape Of the Node
static java.lang.String FILL
          Default value: Fill Color For The Shape Of the Node
static java.lang.String FONT_NAME
          Default value: Font Name Of the Node Id Label
static int FONT_SIZE
          Default value: 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 height
          Height Of The Virtual Bounding Box
static float HEIGHT
          Default value: Height Of The Virtual Bounding Box
static int MINIMAL_NODE_DISTANCE
          Default value: 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
          Default value: Color Of The Border Line
static java.lang.String RESULTS_PROPERTIES_GML_ALTERNATIVE_FILL
          Alternative Fill Color For the Shape Of The Node (in #'RRGGBB' format)
static java.lang.String RESULTS_PROPERTIES_GML_FILL
          Fill Color For The Shape Of the Node (in #'RRGGBB' format)
static java.lang.String RESULTS_PROPERTIES_GML_FONT_NAME
          Font Name Of the Node Id Label
static java.lang.String RESULTS_PROPERTIES_GML_FONT_SIZE
          Font Size Of the Node Id Label
static java.lang.String RESULTS_PROPERTIES_GML_HEIGHT
          Height Of The Virtual Bounding Box
static java.lang.String RESULTS_PROPERTIES_GML_MINIMAL_NODE_DISTANCE
          Minimal Node Distance arranged on a circle
static java.lang.String RESULTS_PROPERTIES_GML_OUTLINE
          Color Of The Border Line (in #'RRGGBB' format)
static java.lang.String RESULTS_PROPERTIES_GML_SHAPE
          Shape Of The Node
static java.lang.String RESULTS_PROPERTIES_GML_WIDTH
          Width Of The Virtual Bounding Box
 java.lang.String shape
          Shape Of The Node
static java.lang.String SHAPE
          Default value: Shape Of The Node
 float width
          Width Of The Virtual Bounding Box.
static float WIDTH
          Default value: Width Of The Virtual Bounding Box.
 
Constructor Summary
ResultsGMLProperties()
           
 
Method Summary
 void init(PropertiesWrapper properties)
          Loads the default values specified in the properties for GML purposes.
 void postinit(PropertiesWrapper properties)
          Makes the postinitialization process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULTS_PROPERTIES_GML_WIDTH

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_HEIGHT

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_SHAPE

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_FILL

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_ALTERNATIVE_FILL

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_OUTLINE

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_FONT_SIZE

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_FONT_NAME

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

See Also:
Constant Field Values

RESULTS_PROPERTIES_GML_MINIMAL_NODE_DISTANCE

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

See Also:
Constant Field Values

WIDTH

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

See Also:
Constant Field Values

HEIGHT

public static final float HEIGHT
Default value: Height Of The Virtual Bounding Box

See Also:
Constant Field Values

SHAPE

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

See Also:
Constant Field Values

FILL

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

See Also:
Constant Field Values

ALTERNATIVE_FILL

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

See Also:
Constant Field Values

OUTLINE

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

See Also:
Constant Field Values

FONT_SIZE

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

See Also:
Constant Field Values

FONT_NAME

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

See Also:
Constant Field Values

MINIMAL_NODE_DISTANCE

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

See Also:
Constant Field Values

width

public float width
Width Of The Virtual Bounding Box.


height

public float height
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

ResultsGMLProperties

public ResultsGMLProperties()
Method Detail

init

public void init(PropertiesWrapper properties)
          throws InitializationException
Loads the default values specified in the properties for GML purposes. If don't appear any of required attribute, it is set the default value.

Specified by:
init in interface PropertiesInitializer
Parameters:
properties - Properties with the current configuration.
Throws:
InitializationException - if an error occurs during the initialization of the different properties.

postinit

public void postinit(PropertiesWrapper properties)
              throws InitializationException
Makes the postinitialization process. Does nothing.

Specified by:
postinit in interface PropertiesInitializer
Parameters:
properties - A Properties instance with all required configuration properties.
Throws:
InitializationException - if an error occurs during the initialization of the different properties.
See Also:
PropertiesInitializer.postinit(planet.util.PropertiesWrapper)