NetCharts Pro

netcharts.pro.charts.multipie
Class NFPieTitle

java.lang.Object
  extended by netcharts.pro.common.NFBaseClass
      extended by netcharts.pro.charts.multipie.NFPieTitle
All Implemented Interfaces:
java.lang.Cloneable

public class NFPieTitle
extends NFBaseClass

The NFPieTitle class describes the appearance of a pie title. Includes title text, style and background region attributes.


Constructor Summary
NFPieTitle()
          Constructs a pie title object with defaults
NFPieTitle(java.lang.String text)
          Constructs a pie title object with the specified text
NFPieTitle(java.lang.String text, NFModalLabel label)
          Constructs a pie title object with the specified text and text style
NFPieTitle(java.lang.String text, NFModalLabel label, NFRegion region)
          Constructs a pie title object with the specified text, style and background region
 
Method Summary
 java.lang.Object clone()
          Does a deep copy of this title object
 NFModalLabel getLabel()
          Get the pie title text style.
 NFRegion getRegion()
          Get the pie title background region
 java.lang.String getText()
          Get the pie title text.
 boolean getTextModified()
          Returns whether the text has been modified.
 void setLabel(NFModalLabel label)
          Set the pie title text style.
 void setRegion(NFRegion region)
          Set the pie title background region
 void setText(java.lang.String text)
          Set the pie title text.
 void setTextModified(boolean modified)
          Sets whether the text has been modified.
 
Methods inherited from class netcharts.pro.common.NFBaseClass
getModified, getUserObject, setModified, setUserObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NFPieTitle

public NFPieTitle()
Constructs a pie title object with defaults


NFPieTitle

public NFPieTitle(java.lang.String text)
Constructs a pie title object with the specified text

Parameters:
text - title text

NFPieTitle

public NFPieTitle(java.lang.String text,
                  NFModalLabel label)
Constructs a pie title object with the specified text and text style

Parameters:
text - title text
label - title text style

NFPieTitle

public NFPieTitle(java.lang.String text,
                  NFModalLabel label,
                  NFRegion region)
Constructs a pie title object with the specified text, style and background region

Parameters:
text - title text
label - title text style
region - title background region
Method Detail

getText

public java.lang.String getText()
Get the pie title text. Multiple lines may be delimited using the '\n' character.

Returns:
text or null if not set

setText

public void setText(java.lang.String text)
Set the pie title text. Multiple lines may be delimited using the '\n' character.

Parameters:
text - pie title text

getTextModified

public boolean getTextModified()
Returns whether the text has been modified.

Returns:
true if the text has been modified, false otherwise.

setTextModified

public void setTextModified(boolean modified)
Sets whether the text has been modified.

Parameters:
modified - true if the text has been modified, false otherwise.

setLabel

public void setLabel(NFModalLabel label)
Set the pie title text style.

Parameters:
label - title text style

getLabel

public NFModalLabel getLabel()
Get the pie title text style.

Returns:
pie title text style or null if not set

setRegion

public void setRegion(NFRegion region)
Set the pie title background region

Parameters:
region - pie title background region

getRegion

public NFRegion getRegion()
Get the pie title background region

Returns:
background region or null if not set

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Does a deep copy of this title object

Overrides:
clone in class NFBaseClass
Returns:
Object
Throws:
java.lang.CloneNotSupportedException

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