NetCharts Pro

netcharts.pro.common
Class NFAreaSize

java.lang.Object
  extended by netcharts.pro.common.NFBaseClass
      extended by netcharts.pro.common.NFAreaSize
All Implemented Interfaces:
java.lang.Cloneable, NFCDLGenerator

public class NFAreaSize
extends NFBaseClass
implements NFCDLGenerator

Defined a bounded area by location and size.


Constructor Summary
NFAreaSize()
          Creates an empty NFAreaSize.
NFAreaSize(double width, double height)
          Creates an NFAreaSize with the specified size.
NFAreaSize(double xLocation, double yLocation, double width, double height)
          Creates an NFAreaSize with the specified size and location.
 
Method Summary
 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 getHeight()
          Returns the height of the bounded area.
 double getWidth()
          Returns the width of the bounded area.
 double getXLocation()
          Returns the x coordinate of the bounded area.
 double getYLocation()
          Returns the y coordinate of the bounded area.
 void setCDL(java.lang.String cdl)
          Set the CDL for this object
 void setHeight(double height)
          Returns the height of the bounded area.
 void setWidth(double width)
          Sets the width of the bounded area.
 void setXLocation(double xLocation)
          Sets the x coordinate of the bounded area.
 void setYLocation(double yLocation)
          Sets the y coordinate of the bounded area.
 
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

NFAreaSize

public NFAreaSize()
Creates an empty NFAreaSize.


NFAreaSize

public NFAreaSize(double width,
                  double height)
Creates an NFAreaSize with the specified size.

Parameters:
width - The width of the bounded area
height - The height of the bounded area

NFAreaSize

public NFAreaSize(double xLocation,
                  double yLocation,
                  double width,
                  double height)
Creates an NFAreaSize with the specified size and location.

Parameters:
xLocation - The x coordinate of the bounded area
yLocation - The y coordinate of the bounded area
width - The width of the bounded area
height - The height of the bounded area
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
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

setXLocation

public void setXLocation(double xLocation)
Sets the x coordinate of the bounded area.

Parameters:
xLocation - The x coordinate of the bounded area

getXLocation

public double getXLocation()
Returns the x coordinate of the bounded area.

Returns:
The x coordinate of the bounded area.

setYLocation

public void setYLocation(double yLocation)
Sets the y coordinate of the bounded area.

Parameters:
yLocation - The y coordinate of the bounded area

getYLocation

public double getYLocation()
Returns the y coordinate of the bounded area.

Returns:
The y coordinate of the bounded area.

setWidth

public void setWidth(double width)
Sets the width of the bounded area.

Parameters:
width - The width of the bounded area

getWidth

public double getWidth()
Returns the width of the bounded area.

Returns:
The width of the bounded area.

setHeight

public void setHeight(double height)
Returns the height of the bounded area.


getHeight

public double getHeight()
Returns the height of the bounded area.

Returns:
The height of the bounded area.

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