NetCharts Pro

netcharts.pro.charts.bubble
Class NFBubbleScale

java.lang.Object
  extended by netcharts.pro.common.NFBaseClass
      extended by netcharts.pro.common.NFRange
          extended by netcharts.pro.charts.bubble.NFBubbleScale
All Implemented Interfaces:
java.lang.Cloneable, NFCDLGenerator

public class NFBubbleScale
extends NFRange
implements NFCDLGenerator

Defines Z axis scaling in a NFBubblechart.


Field Summary
static int AREA
          Area scale type.
static int DIAMETER
          Diameter scale type.
static java.util.Hashtable scaleTypeMap
          Contains the set of available scale types to verify against.
 
Constructor Summary
NFBubbleScale()
          Constructs a default bubble range
 
Method Summary
 java.lang.String getCDL()
          Generate CDL parameters representing this region
 java.awt.Color getPointColor()
          Get the point color
 int getScaleType()
          Get the scale type
 void setCDL(java.lang.String cdl)
          Configures this object from a CDL parameter representation.
 void setPointColor(java.awt.Color pointColor)
          Set the point color
 void setScaleType(int scaleType)
          Set the scale type.
 java.lang.String toString()
          Returns a new String object representing this scale.
 
Methods inherited from class netcharts.pro.common.NFRange
getCDL, getMax, getMaxAsDate, getMaxObject, getMin, getMinAsDate, getMinObject, setCDL, setMax, setMax, setMax, setMin, setMin, setMin
 
Methods inherited from class netcharts.pro.common.NFBaseClass
clone, getModified, getUserObject, setModified, setUserObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AREA

public static final int AREA
Area scale type. The size of the area of the bubbles are proportional to the Z value defined.

See Also:
Constant Field Values

DIAMETER

public static final int DIAMETER
Diameter scale type. The size of the diameter of the bubbles are proportional to the Z value defined.

See Also:
Constant Field Values

scaleTypeMap

public static java.util.Hashtable scaleTypeMap
Contains the set of available scale types to verify against. Consists of AREA, DIAMETER

Constructor Detail

NFBubbleScale

public NFBubbleScale()
Constructs a default bubble range

Method Detail

setScaleType

public void setScaleType(int scaleType)
Set the scale type. One of AREA, DIAMETER

If the value passed is not a valid bubble scale type an IllegalArgumentException will be thrown.

Parameters:
borderType - One of AREA, DIAMETER

getScaleType

public int getScaleType()
Get the scale type

Returns:
A constant representing the bubble scale type. One of AREA, DIAMETER

setPointColor

public void setPointColor(java.awt.Color pointColor)
Set the point color

Parameters:
pointColor; -

getPointColor

public java.awt.Color getPointColor()
Get the point color

Returns:
pointColor;

setCDL

public void setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation.

Specified by:
setCDL in interface NFCDLGenerator
Overrides:
setCDL in class NFRange
Parameters:
cdl - CDL in the form: (minScale, maxScale, scaleType, pointColor)

toString

public java.lang.String toString()
Returns a new String object representing this scale.

Specified by:
toString in interface NFCDLGenerator
Overrides:
toString in class NFRange
Returns:
A new String object in the same form as that given by getCDL().

getCDL

public java.lang.String getCDL()
Generate CDL parameters representing this region

Specified by:
getCDL in interface NFCDLGenerator
Overrides:
getCDL in class NFRange
Returns:
CDL in the form: (minScale, maxScale, scaleType, pointColor)

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011