|
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.common.NFGradient
netcharts.pro.common.NFHighlight
netcharts.pro.common.barset.NFBarHighlight
public class NFBarHighlight
A class representing a highlight applied to a bar.
Field Summary | |
---|---|
static double |
DEFAULT_BOTTOM_GAP
|
static double |
DEFAULT_HEIGHT
|
static double |
DEFAULT_LEFT_GAP
|
static double |
DEFAULT_RIGHT_GAP
|
static double |
DEFAULT_TOP_GAP
|
static int |
DEFAULT_TYPE
|
static double |
DEFAULT_WIDTH
|
Fields inherited from class netcharts.pro.common.NFHighlight |
---|
GRADIENTBDIAG, GRADIENTCENTERHORIZONTAL, GRADIENTCENTERVERTICAL, GRADIENTFDIAG, GRADIENTHORIZONTAL, GRADIENTRADIAL, GRADIENTVERTICAL, NONE |
Constructor Summary | |
---|---|
NFBarHighlight()
|
Method Summary | |
---|---|
double |
getBottomGap()
Get the gap between the bottom of the highlighted object and the highlight. |
java.lang.String |
getCDL()
Generate CDL parameters representing this bar highlight |
NFCorners |
getCorners()
Get the corners of the bar highlight |
double |
getHeight()
Get the height of the highlight. |
double |
getLeftGap()
Get the gap between the left of the highlighted object and the highlight. |
double |
getRightGap()
Get the gap between the right of the highlighted object and the highlight. |
double |
getTopGap()
Get the gap between the top of the highlighted object and the highlight. |
double |
getWidth()
Get the width of the highlight. |
void |
setBottomGap(double bottomGap)
Set the gap between the bottom of the highlighted object and the highlight. |
void |
setCDL(java.lang.Object cdlObject)
Configures this object from a CDL parameter object. |
void |
setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setCorners(NFCorners corners)
Set the corners of the bar highlight |
void |
setHeight(double height)
Set the height of the highlight. |
void |
setLeftGap(double leftGap)
Set the gap between the left of the highlighted object and the highlight. |
void |
setRightGap(double rightGap)
Set the gap between the right of the highlighted object and the highlight. |
void |
setTopGap(double topGap)
Set the gap between the top of the highlighted object and the highlight. |
void |
setWidth(double width)
Set the width of the highlight. |
Methods inherited from class netcharts.pro.common.NFHighlight |
---|
getType, setType |
Methods inherited from class netcharts.pro.common.NFGradient |
---|
getStart, getStop, setStart, setStop |
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 |
Field Detail |
---|
public static final int DEFAULT_TYPE
public static final double DEFAULT_TOP_GAP
public static final double DEFAULT_BOTTOM_GAP
public static final double DEFAULT_LEFT_GAP
public static final double DEFAULT_RIGHT_GAP
public static final double DEFAULT_WIDTH
public static final double DEFAULT_HEIGHT
Constructor Detail |
---|
public NFBarHighlight()
Method Detail |
---|
public double getTopGap()
public void setTopGap(double topGap)
topGap
- The top gap as a percentage or number of pixels.public double getBottomGap()
public void setBottomGap(double bottomGap)
bottomGap
- The bottom gap as a percentage or number of pixels.public double getLeftGap()
public void setLeftGap(double leftGap)
leftGap
- The left gap as a percentage or number of pixels.public double getRightGap()
public void setRightGap(double rightGap)
rightGap
- The right gap as a percentage or number of pixels.public double getWidth()
public void setWidth(double width)
width
- The width as a percentage or number of pixels or -1.public double getHeight()
public void setHeight(double height)
height
- The height as a percentage or number of pixels or -1.public void setCorners(NFCorners corners)
corners
- The corners of the bar highlightpublic NFCorners getCorners()
public java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
(type, start, stop, topGap, rightGap, bottomGap, leftGap, width, height, topLeftCorner, topRightCorner, bottomRightCorner, bottomLeftCorner)
public void setCDL(java.lang.Object cdlObject)
cdlObject
- CDL in a String form or in a user object.public void setCDL(java.lang.String cdl)
setCDL
in interface NFCDLGenerator
cdl
- CDL in the form: (type, start, stop, topGap, rightGap, bottomGap, leftGap, width, height, topLeftCorner, topRightCorner, bottomRightCorner, bottomLeftCorner)
|
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 |