|
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.NFSpotlight
public class NFSpotlight
A class representing a spotlight gradient.
Field Summary | |
---|---|
static int |
BOTTOM
Bottom center location |
static int |
BOTTOMLEFT
Bottom left center location |
static int |
BOTTOMRIGHT
Bottom right center location |
static int |
CENTER
Center center location |
static int |
DEFAULT_CENTER
|
static double |
DEFAULT_CENTER_OFFSET_X
|
static double |
DEFAULT_CENTER_OFFSET_Y
|
static double |
DEFAULT_FOCUS_OFFSET_X
|
static double |
DEFAULT_FOCUS_OFFSET_Y
|
static double |
DEFAULT_RADIUS
|
static int |
LEFT
Left center location |
static int |
RIGHT
Right center location |
static int |
TOP
Top center location |
static int |
TOPLEFT
Top left center location |
static int |
TOPRIGHT
Top right center location |
Constructor Summary | |
---|---|
NFSpotlight()
|
Method Summary | |
---|---|
java.lang.String |
getCDL()
Generate CDL parameters representing this spotlight |
int |
getCenter()
Gets the center location. |
double |
getCenterOffsetX()
Get the offset of the x coordinate of the center point of the spotlight. |
double |
getCenterOffsetY()
Get the offset of the y coordinate of the center point of the spotlight. |
double |
getFocusOffsetX()
Get the offset of the x coordinate of the focus point of the spotlight. |
double |
getFocusOffsetY()
Get the offset of the y coordinate of the focus point of the spotlight. |
double |
getRadius()
Get the radius of the spotlight. |
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 |
setCenter(int center)
Sets the center location. |
void |
setCenterOffsetX(double centerOffsetX)
Set the offset of the x coordinate of the center point of the spotlight. |
void |
setCenterOffsetY(double centerOffsetY)
Set the offset of the y coordinate of the center point of the spotlight. |
void |
setFocusOffsetX(double focusOffsetX)
Set the offset of the x coordinate of the focus point of the spotlight. |
void |
setFocusOffsetY(double focusOffsetY)
Set the offset of the y coordinate of the focus point of the spotlight. |
void |
setRadius(double radius)
Set the radius of the spotlight. |
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 TOPLEFT
public static final int TOP
public static final int TOPRIGHT
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int BOTTOMLEFT
public static final int BOTTOM
public static final int BOTTOMRIGHT
public static final double DEFAULT_CENTER_OFFSET_X
public static final double DEFAULT_CENTER_OFFSET_Y
public static final double DEFAULT_FOCUS_OFFSET_X
public static final double DEFAULT_FOCUS_OFFSET_Y
public static final double DEFAULT_RADIUS
public static final int DEFAULT_CENTER
Constructor Detail |
---|
public NFSpotlight()
Method Detail |
---|
public double getCenterOffsetX()
public void setCenterOffsetX(double centerOffsetX)
centerOffsetX
- The center x offset as a percentage or number of pixels.public double getCenterOffsetY()
public void setCenterOffsetY(double centerOffsetY)
centerOffsetY
- The center y offset as a percentage or number of pixels.public double getFocusOffsetX()
public void setFocusOffsetX(double focusOffsetX)
focusOffsetX
- The focus x offset as a percentage or number of pixels.public double getFocusOffsetY()
public void setFocusOffsetY(double focusOffsetY)
focusOffsetY
- The focus y offset as a percentage or number of pixels.public double getRadius()
public void setRadius(double radius)
radius
- The radius as a percentage or number of pixels.public int getCenter()
public void setCenter(int center)
center
- The center locationpublic java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
(start, stop, center, centerOffsetX, centerOffsetY, focusOffsetX, focusOffsetY, radius)
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: (start, stop, center, centerOffsetX, centerOffsetY, focusOffsetX, focusOffsetY, radius)
|
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 |