|
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.dial.NFDialSector
public class NFDialSector
Dial sector object. Represents a segment of the parent dial. A sector's area is defined by it's start and stop value and inner and outer radius.
Constructor Summary | |
---|---|
NFDialSector()
Constructs a default dial sector. |
|
NFDialSector(java.lang.String sectorName)
Constructs a dial sector with the given name. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Does a deep copy of this dial object |
NFActiveLabel |
getActiveLabel()
Get the sector's active label. |
boolean |
getActiveLabelModified()
Gets if the sector's active label has been modified |
NFLine |
getBorderLine()
Get the border line style |
boolean |
getBorderModified()
Gets if the sector's border has been modified |
java.lang.String |
getCDLSector(java.lang.String dialName)
Generate CDL parameters representing this sector |
java.lang.String |
getCDLSectorActiveLabel()
Generate CDL parameters representing this sector's active label |
java.lang.String |
getCDLSectorBorder()
Generate CDL parameters representing this sector's border style |
java.lang.String |
getCDLSectorColor()
Generate CDL parameters representing this sector's color |
java.lang.String |
getCDLSectorData()
Generate CDL parameters representing this sector's data |
java.lang.String |
getCDLSectorFillPattern()
Generate CDL parameters representing this sector's fill pattern |
java.lang.String |
getCDLSectorTicStyle()
Generate CDL parameters representing this sector's tic style |
boolean |
getDataModified()
Gets if the sector's data has been modified |
java.awt.Color |
getFillColor()
Get the sector fill color |
boolean |
getFillColorModified()
Gets if the sector's fill pattern has been modified |
NFFillPattern |
getFillPattern()
Gets the fill pattern this dial should use. |
boolean |
getFillPatternModified()
Gets if the sector's fill pattern has been modified |
double |
getInnerRadius()
Get the sector inner radius. |
boolean |
getLabelModified()
Gets if the sector's label style has been modified |
double |
getOuterRadius()
Get the sector outer radius. |
java.lang.String |
getSectorLabel()
Get this dial sector's label. |
double |
getSectorLabelPosition()
Deprecated. |
NFTextStyle |
getSectorLabelStyle()
Get the text style of the label. |
boolean |
getSectorModified()
Gets if the sector definition has been modified |
java.lang.String |
getSectorName()
Get this dial sector's name. |
boolean |
getShowSectorLabel()
Get whether or not the label should be shown in the sector. |
boolean |
getShowTicLabels()
Deprecated. Replaced by getShowSectorLabel() |
double |
getStartValue()
Get the sector start value. |
double |
getStopValue()
Get the sector stop value. |
double |
getTicLabelPosition()
Deprecated. Replaced by getSectorLabelPosition() |
NFTextStyle |
getTicLabelStyle()
Deprecated. Replaced by getSectorLabelStyle() |
boolean |
getTicsModified()
Deprecated. Replaced by getLabelModified() |
void |
setActiveLabel(NFActiveLabel activeLabel)
Set the sector's active label. |
void |
setBorderLine(NFLine borderLine)
Set the border line style |
void |
setCDLSector(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setCDLSectorActiveLabel(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setCDLSectorBorder(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setCDLSectorColors(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setCDLSectorData(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setCDLSectorFillPattern(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setCDLSectorTicStyle(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setFillColor(java.awt.Color fillColor)
Set the sector fill color |
void |
setFillPattern(NFFillPattern fillPattern)
Sets the fill pattern this dial should use. |
void |
setInnerRadius(double innerRadius)
Set the sector inner radius. |
void |
setOuterRadius(double outerRadius)
Set the sector outer radius. |
void |
setSectorLabel(java.lang.String sectorLabel)
GSt this dial sector's label. |
void |
setSectorLabelPosition(double sectorLabelPosition)
Set the position of the sector label relative to the radius of the dial. |
void |
setSectorLabelStyle(NFTextStyle sectorLabelStyle)
Set the text style of the label. |
void |
setSectorName(java.lang.String sectorName)
Set this sector's name. |
void |
setShowSectorLabel(boolean showSectorLabels)
Set whether or not the label should be shown in the sector. |
void |
setShowTicLabels(boolean showTicLabels)
Deprecated. Replaced by setShowSectorLabel(boolean) |
void |
setStartValue(double startValue)
Set the sector start value. |
void |
setStopValue(double stopValue)
Set the sector stop value. |
void |
setTicLabelPosition(double ticLabelPosition)
Deprecated. Replaced by setSectorLabelPosition(double) |
void |
setTicLabelStyle(NFTextStyle ticLabelStyle)
Deprecated. Replaced by setSectorLabelStyle(NFTextStyle) |
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 |
---|
public NFDialSector()
public NFDialSector(java.lang.String sectorName)
sectorName
- Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class NFBaseClass
java.lang.CloneNotSupportedException
public void setSectorName(java.lang.String sectorName)
sectorName
- The name of the sector.public java.lang.String getSectorName()
public void setSectorLabel(java.lang.String sectorLabel)
sectorLabel
- Text to use for this dial sector.public java.lang.String getSectorLabel()
public void setStartValue(double startValue)
startValue
- The sector start value.public double getStartValue()
public void setStopValue(double stopValue)
stopValue
- The sector stop value.public double getStopValue()
public void setInnerRadius(double innerRadius)
innerRadius
- The sector's inner radius.public double getInnerRadius()
public void setOuterRadius(double outerRadius)
outerRadius
- The sector's outer radius.public double getOuterRadius()
public void setFillColor(java.awt.Color fillColor)
fillColor
- The sector fill color.public java.awt.Color getFillColor()
public void setShowSectorLabel(boolean showSectorLabels)
showSectorLabels
- If true, show the label.public void setShowTicLabels(boolean showTicLabels)
setShowSectorLabel(boolean)
showTicLabels
- If true, show tic labels.public boolean getShowSectorLabel()
public boolean getShowTicLabels()
getShowSectorLabel()
public void setSectorLabelPosition(double sectorLabelPosition)
sectorLabelPosition
- The radial position of the label.public void setTicLabelPosition(double ticLabelPosition)
setSectorLabelPosition(double)
ticLabelPosition
- The radial position of tic labels.public double getSectorLabelPosition()
public double getTicLabelPosition()
getSectorLabelPosition()
public void setSectorLabelStyle(NFTextStyle sectorLabelStyle)
sectorLabelStyle
- The text style object for the label.public void setTicLabelStyle(NFTextStyle ticLabelStyle)
setSectorLabelStyle(NFTextStyle)
ticLabelStyle
- The text style object for tic labels.public NFTextStyle getSectorLabelStyle()
public NFTextStyle getTicLabelStyle()
getSectorLabelStyle()
public void setBorderLine(NFLine borderLine)
borderLine
- The NFLine object describing the sector border.public NFLine getBorderLine()
public void setActiveLabel(NFActiveLabel activeLabel)
activeLabel
- The sector active label object.public NFActiveLabel getActiveLabel()
public void setFillPattern(NFFillPattern fillPattern)
fillPattern
- Fill pattern for this dial.public NFFillPattern getFillPattern()
public java.lang.String getCDLSector(java.lang.String dialName)
dialName
- The dial that this sector is associated with.
("sectorName", fillColor, "dialName", outerRadius, innerRadius)
public void setCDLSector(java.lang.String cdl)
cdl
- CDL in the form: ("sectorName", fillColor, "dialName", outerRadius, innerRadius)
public java.lang.String getCDLSectorData()
("sectorName", startValue, stopValue)
public java.lang.String getCDLSectorColor()
("sectorName", color)
public void setCDLSectorData(java.lang.String cdl)
cdl
- CDL in the form: ("sectorName", startValue, stopValue)
public void setCDLSectorColors(java.lang.String cdl)
cdl
- CDL in the form: ("sectorName", color)
public java.lang.String getCDLSectorTicStyle()
("sectorName", showTicLabels, ticPosition, textColor, font, fontsize, angle)
public void setCDLSectorTicStyle(java.lang.String cdl)
cdl
- CDL in the form: ("sectorName", showTicLabels, ticPosition, textColor, font, fontsize, angle)
public java.lang.String getCDLSectorFillPattern()
("sectorName", type, fgcolor, bgcolor, imageurl)
public void setCDLSectorFillPattern(java.lang.String cdl)
cdl
- CDL in the form: ("sectorName", type, fgcolor, bgcolor, imageurl)
public java.lang.String getCDLSectorBorder()
("sectorName", lineStyle, lineWidth, lineColor)
public void setCDLSectorBorder(java.lang.String cdl)
cdl
- CDL in the form: ("sectorName", lineStyle, lineWidth, lineColor)
public java.lang.String getCDLSectorActiveLabel()
("sectorName", "label", "url", "target")
public void setCDLSectorActiveLabel(java.lang.String cdl)
cdl
- CDL in the form: ("sectorName", "label", "url", "target")
public boolean getSectorModified()
public boolean getDataModified()
public boolean getLabelModified()
public boolean getTicsModified()
getLabelModified()
public boolean getActiveLabelModified()
public boolean getBorderModified()
public boolean getFillColorModified()
public boolean getFillPatternModified()
|
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 - 2011 |
Last Modified: Jun 28, 2011 |