|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetcharts.pro.common.NFBaseClass
netcharts.pro.charts.multipie.NFPie
public class NFPie
The NFPie class contains attributes for each pie in the Multi-Pie chart. The attributes include pie title, pie starting angle and pie background.
| Field Summary | |
|---|---|
static int |
DEFAULT_ANGLE
Default value for the pie starting angle if not specified. |
| Constructor Summary | |
|---|---|
NFPie()
Creates a default pie object |
|
NFPie(int angle)
Constructs a pie object with the specified starting angle |
|
NFPie(NFPieTitle title)
Constructs a pie object with the specified title object |
|
NFPie(java.lang.String titleText)
Constructs a pie object with the specified title text |
|
NFPie(java.lang.String titleText,
NFModalLabel titleLabel,
NFRegion titleRegion)
Constructs a pie object with the specified title text, title style and title background region. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Does a deep copy of this pie object |
int |
getAngle()
Get the pie starting angle |
boolean |
getAngleModified()
Returns whether the angle has been modified. |
NFRegion |
getBackground()
Returns the pie background |
boolean |
getBackgroundModified()
Returns whether the background has been modified. |
NFPieTitle |
getTitle()
Get the pie title attributes |
void |
setAngle(int angle)
Set the pie starting angle |
void |
setAngleModified(boolean modified)
Sets whether the angle has been modified. |
void |
setBackground(NFRegion background)
Set the pie background |
void |
setBackgroundModified(boolean modified)
Sets whether the background has been modified. |
void |
setTitle(NFPieTitle title)
Set the pie title attributes |
void |
setTitle(java.lang.String titleText,
NFModalLabel titleLabel,
NFRegion titleRegion)
Set the pie title attributes (text, text style, background region) |
| 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 |
| Field Detail |
|---|
public static final int DEFAULT_ANGLE
| Constructor Detail |
|---|
public NFPie()
public NFPie(java.lang.String titleText)
titleText - title text
public NFPie(java.lang.String titleText,
NFModalLabel titleLabel,
NFRegion titleRegion)
titleText - title texttitleLabel - title text styletitleRegion - title background regionpublic NFPie(NFPieTitle title)
title - pie title objectpublic NFPie(int angle)
angle - starting angle| Method Detail |
|---|
public void setTitle(java.lang.String titleText,
NFModalLabel titleLabel,
NFRegion titleRegion)
titleText - title texttitleLabel - title text styletitleRegion - title background regionpublic void setTitle(NFPieTitle title)
title - pie title objectpublic NFPieTitle getTitle()
public void setAngle(int angle)
angle - in degrees (0 - 359)public int getAngle()
DEFAULT_ANGLE if not setpublic boolean getAngleModified()
true if the angle has been modified, false otherwise.public void setAngleModified(boolean modified)
modified - true if the angle has been modified, false otherwise.public void setBackground(NFRegion background)
background - pie backgroundpublic NFRegion getBackground()
public boolean getBackgroundModified()
true if the background has been modified, false otherwise.public void setBackgroundModified(boolean modified)
modified - true if the background has been modified, false otherwise.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class NFBaseClassjava.lang.CloneNotSupportedException
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2018 |
Last Modified: Jan 7, 2018 |