info.aduna.clustermap.render
Class RenderingProperties

java.lang.Object
  extended by info.aduna.clustermap.render.RenderingProperties
All Implemented Interfaces:
Cloneable

public class RenderingProperties
extends Object
implements Cloneable


Nested Class Summary
static class RenderingProperties.ClusterSizeFunction
           
static class RenderingProperties.ClusterStyle
           
static class RenderingProperties.EdgeStyle
           
 
Field Summary
 ClassificationIdentityScheme CLASSIFICATION_IDENTITY_SCHEME
           
 ClusterRankScheme CLUSTER_RANK_SCHEME
           
static double DEFAULT_ALIGNMENT_WEIGHT_X
           
static double DEFAULT_ALIGNMENT_WEIGHT_Y
           
static Dimension DEFAULT_AVAILABLE_SIZE
           
static Font DEFAULT_CLASSIFICATION_NAME_FONT
           
static RenderingProperties.EdgeStyle DEFAULT_CLUSTER_EDGE_STYLE
           
static Font DEFAULT_CLUSTER_SIZE_FONT
           
static RenderingProperties.ClusterSizeFunction DEFAULT_CLUSTER_SIZE_FUNCTION
           
static RenderingProperties.ClusterStyle DEFAULT_CLUSTER_STYLE
           
static boolean DEFAULT_DISPLAYING_CLASS_ICONS
           
static boolean DEFAULT_FIT_TO_SIZE
           
static int DEFAULT_FORCE_SINGLE_ENTITY_THRESHOLD
           
static IconFactory DEFAULT_ICON_FACTORY
           
static int DEFAULT_ICON_PADDING
           
static double DEFAULT_LOGARITHMIC_SIZE_SCALE
           
static Insets DEFAULT_MARGIN
           
static int DEFAULT_MAXIMUM_CLASSIFICATION_NAME_PIXEL_LENGTH
           
static int DEFAULT_MAXIMUM_CLUSTER_RADIUS
           
static int DEFAULT_MINIMUM_CLUSTER_RADIUS
           
static double DEFAULT_SCALE
           
 Scheme DEFAULT_SCHEME
           
static double DEFAULT_SQUARE_ROOT_SIZE_SCALE
           
 Scheme UNIFORM_SCHEME
           
 
Constructor Summary
RenderingProperties()
           
 
Method Summary
 RenderingProperties clone()
           
 double getAlignmentWeightX()
           
 double getAlignmentWeightY()
           
 Dimension getAvailableSize()
           
 Font getClassificationNameFont()
           
 FontMetrics getClassificationNameFontMetrics()
           
 RenderingProperties.EdgeStyle getClusterEdgeStyle()
           
 Font getClusterSizeFont()
           
 FontMetrics getClusterSizeFontMetrics()
           
 RenderingProperties.ClusterSizeFunction getClusterSizeFunction()
           
 RenderingProperties.ClusterStyle getClusterStyle()
           
 boolean getFitToSize()
           
 int getForceSingleEntityThreshold()
           
 IconFactory getIconFactory()
           
 int getIconPadding()
           
 double getLogarithmicSizeScale()
           
 Insets getMargin()
           
 int getMaximumClassificationNamePixelLength()
           
 int getMaximumClusterRadius()
           
 int getMinimumClusterRadius()
           
 double getScale()
           
 Scheme getScheme()
           
 SelectionHandler getSelectionHandler()
           
 double getSquareRootSizeScale()
           
 boolean isDisplayingClassIcons()
           
 void setAlignmentWeightX(double weight)
           
 void setAlignmentWeightY(double weight)
           
 void setAvailableSize(Dimension size)
           
 void setClassificationNameFont(Font font)
           
 void setClusterEdgeStyle(RenderingProperties.EdgeStyle style)
           
 void setClusterSizeFont(Font font)
           
 void setClusterSizeFunction(RenderingProperties.ClusterSizeFunction function)
           
 void setClusterStyle(RenderingProperties.ClusterStyle style)
           
 void setDisplayingClassIcons(boolean displayingIcons)
           
 void setFitToSize(boolean fitToSize)
           
 void setForceSingleEntityThreshold(int threshold)
           
 void setIconFactory(IconFactory factory)
           
 void setIconPadding(int padding)
           
 void setLogarithmicSizeScale(double scale)
           
 void setMargin(Insets margin)
           
 void setMaximumClassificationNamePixelLength(int length)
           
 void setMaximumClusterRadius(int radius)
           
 void setMinimumClusterRadius(int radius)
           
 void setRenderingHints(Graphics2D g)
           
 void setScale(double scale)
           
 void setScheme(Scheme scheme)
           
 void setSelectionHandler(SelectionHandler handler)
           
 void setSquareRootSizeScale(double scale)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CLASSIFICATION_NAME_FONT

public static final Font DEFAULT_CLASSIFICATION_NAME_FONT

DEFAULT_CLUSTER_SIZE_FONT

public static final Font DEFAULT_CLUSTER_SIZE_FONT

DEFAULT_MARGIN

public static final Insets DEFAULT_MARGIN

DEFAULT_SCALE

public static final double DEFAULT_SCALE
See Also:
Constant Field Values

DEFAULT_AVAILABLE_SIZE

public static final Dimension DEFAULT_AVAILABLE_SIZE

DEFAULT_FIT_TO_SIZE

public static final boolean DEFAULT_FIT_TO_SIZE
See Also:
Constant Field Values

DEFAULT_ALIGNMENT_WEIGHT_X

public static final double DEFAULT_ALIGNMENT_WEIGHT_X
See Also:
Constant Field Values

DEFAULT_ALIGNMENT_WEIGHT_Y

public static final double DEFAULT_ALIGNMENT_WEIGHT_Y
See Also:
Constant Field Values

DEFAULT_ICON_FACTORY

public static final IconFactory DEFAULT_ICON_FACTORY

DEFAULT_ICON_PADDING

public static final int DEFAULT_ICON_PADDING
See Also:
Constant Field Values

DEFAULT_DISPLAYING_CLASS_ICONS

public static final boolean DEFAULT_DISPLAYING_CLASS_ICONS
See Also:
Constant Field Values

DEFAULT_MAXIMUM_CLASSIFICATION_NAME_PIXEL_LENGTH

public static final int DEFAULT_MAXIMUM_CLASSIFICATION_NAME_PIXEL_LENGTH
See Also:
Constant Field Values

DEFAULT_CLUSTER_STYLE

public static final RenderingProperties.ClusterStyle DEFAULT_CLUSTER_STYLE

DEFAULT_FORCE_SINGLE_ENTITY_THRESHOLD

public static final int DEFAULT_FORCE_SINGLE_ENTITY_THRESHOLD
See Also:
Constant Field Values

DEFAULT_CLUSTER_SIZE_FUNCTION

public static final RenderingProperties.ClusterSizeFunction DEFAULT_CLUSTER_SIZE_FUNCTION

DEFAULT_SQUARE_ROOT_SIZE_SCALE

public static final double DEFAULT_SQUARE_ROOT_SIZE_SCALE
See Also:
Constant Field Values

DEFAULT_LOGARITHMIC_SIZE_SCALE

public static final double DEFAULT_LOGARITHMIC_SIZE_SCALE
See Also:
Constant Field Values

DEFAULT_MINIMUM_CLUSTER_RADIUS

public static final int DEFAULT_MINIMUM_CLUSTER_RADIUS
See Also:
Constant Field Values

DEFAULT_MAXIMUM_CLUSTER_RADIUS

public static final int DEFAULT_MAXIMUM_CLUSTER_RADIUS
See Also:
Constant Field Values

UNIFORM_SCHEME

public final Scheme UNIFORM_SCHEME

CLASSIFICATION_IDENTITY_SCHEME

public final ClassificationIdentityScheme CLASSIFICATION_IDENTITY_SCHEME

CLUSTER_RANK_SCHEME

public final ClusterRankScheme CLUSTER_RANK_SCHEME

DEFAULT_SCHEME

public final Scheme DEFAULT_SCHEME

DEFAULT_CLUSTER_EDGE_STYLE

public static final RenderingProperties.EdgeStyle DEFAULT_CLUSTER_EDGE_STYLE
Constructor Detail

RenderingProperties

public RenderingProperties()
Method Detail

setRenderingHints

public void setRenderingHints(Graphics2D g)

setSelectionHandler

public void setSelectionHandler(SelectionHandler handler)

getSelectionHandler

public SelectionHandler getSelectionHandler()

setClassificationNameFont

public void setClassificationNameFont(Font font)

getClassificationNameFont

public Font getClassificationNameFont()

setClusterSizeFont

public void setClusterSizeFont(Font font)

getClusterSizeFont

public Font getClusterSizeFont()

getClassificationNameFontMetrics

public FontMetrics getClassificationNameFontMetrics()

getClusterSizeFontMetrics

public FontMetrics getClusterSizeFontMetrics()

setMargin

public void setMargin(Insets margin)

getMargin

public Insets getMargin()

setScale

public void setScale(double scale)

getScale

public double getScale()

setAvailableSize

public void setAvailableSize(Dimension size)

getAvailableSize

public Dimension getAvailableSize()

setFitToSize

public void setFitToSize(boolean fitToSize)

getFitToSize

public boolean getFitToSize()

setAlignmentWeightX

public void setAlignmentWeightX(double weight)

setAlignmentWeightY

public void setAlignmentWeightY(double weight)

getAlignmentWeightX

public double getAlignmentWeightX()

getAlignmentWeightY

public double getAlignmentWeightY()

setIconFactory

public void setIconFactory(IconFactory factory)

getIconFactory

public IconFactory getIconFactory()

setIconPadding

public void setIconPadding(int padding)

getIconPadding

public int getIconPadding()

setDisplayingClassIcons

public void setDisplayingClassIcons(boolean displayingIcons)

isDisplayingClassIcons

public boolean isDisplayingClassIcons()

setMaximumClassificationNamePixelLength

public void setMaximumClassificationNamePixelLength(int length)

getMaximumClassificationNamePixelLength

public int getMaximumClassificationNamePixelLength()

setClusterStyle

public void setClusterStyle(RenderingProperties.ClusterStyle style)

getClusterStyle

public RenderingProperties.ClusterStyle getClusterStyle()

setForceSingleEntityThreshold

public void setForceSingleEntityThreshold(int threshold)

getForceSingleEntityThreshold

public int getForceSingleEntityThreshold()

setClusterSizeFunction

public void setClusterSizeFunction(RenderingProperties.ClusterSizeFunction function)

getClusterSizeFunction

public RenderingProperties.ClusterSizeFunction getClusterSizeFunction()

setSquareRootSizeScale

public void setSquareRootSizeScale(double scale)

getSquareRootSizeScale

public double getSquareRootSizeScale()

setLogarithmicSizeScale

public void setLogarithmicSizeScale(double scale)

getLogarithmicSizeScale

public double getLogarithmicSizeScale()

setMinimumClusterRadius

public void setMinimumClusterRadius(int radius)

getMinimumClusterRadius

public int getMinimumClusterRadius()

setMaximumClusterRadius

public void setMaximumClusterRadius(int radius)

getMaximumClusterRadius

public int getMaximumClusterRadius()

setScheme

public void setScheme(Scheme scheme)

getScheme

public Scheme getScheme()

setClusterEdgeStyle

public void setClusterEdgeStyle(RenderingProperties.EdgeStyle style)

getClusterEdgeStyle

public RenderingProperties.EdgeStyle getClusterEdgeStyle()

clone

public RenderingProperties clone()
Overrides:
clone in class Object


Copyright © 1997-2008 Aduna. All Rights Reserved.