info.aduna.clustermap.render
Class RenderingProperties
java.lang.Object
info.aduna.clustermap.render.RenderingProperties
- All Implemented Interfaces:
- Cloneable
public class RenderingProperties
- extends Object
- implements Cloneable
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
RenderingProperties
public RenderingProperties()
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.