NetCharts Pro

netcharts.pro.common.rectangular
Class NFAxesSize

java.lang.Object
  |
  +--netcharts.pro.common.NFBaseClass
        |
        +--netcharts.pro.common.rectangular.NFAxesSize
All Implemented Interfaces:
java.lang.Cloneable, NFCDLGenerator

public class NFAxesSize
extends NFBaseClass
implements NFCDLGenerator

A NFAxesSize specifies the amount of space that will be allocated to draw top, bottom, left and right axes.


Constructor Summary
NFAxesSize()
           
NFAxesSize(double top, double bottom, double left, double right)
           
 
Method Summary
 double getBottom()
          Returns the amount of horizontal space in the chart allocated to the bottom axes.
 java.lang.String getCDL()
          Return the CDL for this object
 void getCDL(java.lang.StringBuffer sb)
          Append CDL parameters representing this size to the given StringBuffer.
 double getLeft()
          Returns the amount of horizontal space in the chart allocated to the left axes.
 double getRight()
          Returns the amount of horizontal space in the chart allocated to the right axes.
 double getTop()
          Returns the amount of horizontal space in the chart allocated to the top axes.
 void setBottom(double bottom)
          Sets the amount of vertical space in the chart allocated to the bottom axes.
 void setCDL(java.lang.String cdl)
          Set the CDL for this object
 void setLeft(double left)
          Sets the amount of horizontal space in the chart allocated to the left axes.
 void setRight(double right)
          Sets the amount of horizontal space in the chart allocated to the right axes.
 void setTop(double top)
          Sets the amount of vertical space in the chart allocated to the top axes.
 
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, toString, wait, wait, wait
 
Methods inherited from interface netcharts.pro.common.NFCDLGenerator
toString
 

Constructor Detail

NFAxesSize

public NFAxesSize()

NFAxesSize

public NFAxesSize(double top,
                  double bottom,
                  double left,
                  double right)
Method Detail

getCDL

public java.lang.String getCDL()
Description copied from interface: NFCDLGenerator
Return the CDL for this object
Specified by:
getCDL in interface NFCDLGenerator
Following copied from interface: netcharts.pro.common.NFCDLGenerator
Returns:
cdl

getCDL

public void getCDL(java.lang.StringBuffer sb)
Append CDL parameters representing this size to the given StringBuffer.
Parameters:
sb - Target buffer to append the CDL parameters
includeParens - If true, this will cause the parameters to be delimited with parenthesis.

setCDL

public void setCDL(java.lang.String cdl)
Description copied from interface: NFCDLGenerator
Set the CDL for this object
Specified by:
setCDL in interface NFCDLGenerator
Following copied from interface: netcharts.pro.common.NFCDLGenerator
Parameters:
cdl -  

setTop

public void setTop(double top)
Sets the amount of vertical space in the chart allocated to the top axes. If top is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If top >= 1 it is interpreted as an absolute size in pixels.
Parameters:
top -  

getTop

public double getTop()
Returns the amount of horizontal space in the chart allocated to the top axes. If top is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If top >= 1 it is interpreted as an absolute size in pixels. If -1, then no value has been specified.
Returns:
The amount of vertical space in the chart allocated to the top axes.

setBottom

public void setBottom(double bottom)
Sets the amount of vertical space in the chart allocated to the bottom axes. If bottom is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If bottom >= 1 it is interpreted as an absolute size in pixels.
Parameters:
top -  

getBottom

public double getBottom()
Returns the amount of horizontal space in the chart allocated to the bottom axes. If bottom is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If bottom >= 1 it is interpreted as an absolute size in pixels. If -1, then no value has been specified.
Returns:
The amount of vertical space in the chart allocated to the bottom axes.

setLeft

public void setLeft(double left)
Sets the amount of horizontal space in the chart allocated to the left axes. If left is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If left >= 1 it is interpreted as an absolute size in pixels.
Parameters:
top -  

getLeft

public double getLeft()
Returns the amount of horizontal space in the chart allocated to the left axes. If left is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If left >= 1 it is interpreted as an absolute size in pixels. If -1, then no value has been specified.
Returns:
The amount of horizontal space in the chart allocated to the left axes.

setRight

public void setRight(double right)
Sets the amount of horizontal space in the chart allocated to the right axes. If right is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If right >= 1 it is interpreted as an absolute size in pixels.
Parameters:
top -  

getRight

public double getRight()
Returns the amount of horizontal space in the chart allocated to the right axes. If right is a number between 0 and 1, it is interpreted as a percentage of the total plot area height. If right >= 1 it is interpreted as an absolute size in pixels. If -1, then no value has been specified.
Returns:
The amount of horizontal space in the chart allocated to the right axes.

NetCharts Pro


Visual Mining, Inc.
15825 Shady Grove Rd.
Suite 20
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2004
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: Apr 1, 2004