|
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.NFCorners
public class NFCorners
A class representing the corners of a rectangular shape.
Field Summary | |
---|---|
static int |
CORNER_ROUND
Round border corner style |
static int |
CORNER_SNIP
Snip border corner style |
static int |
CORNER_SQUARE
Square border corner style |
static double |
DEFAULT_CORNER_SIZE
|
static int |
DEFAULT_CORNER_TYPE
|
Constructor Summary | |
---|---|
NFCorners()
|
Method Summary | |
---|---|
double |
getBottomLeftCornerSize()
Get the bottom left corner size. |
int |
getBottomLeftCornerType()
Gets the bottom left corner type. |
double |
getBottomRightCornerSize()
Get the bottom right corner size. |
int |
getBottomRightCornerType()
Gets the bottom right corner type. |
java.lang.String |
getCDL()
Generate CDL parameters representing this region |
void |
getCDL(java.lang.StringBuffer sb)
Append CDL parameters representing these corners to the given StringBuffer. |
double |
getTopLeftCornerSize()
Get the top left corner size. |
int |
getTopLeftCornerType()
Gets the top left corner type. |
double |
getTopRightCornerSize()
Get the top right corner size. |
int |
getTopRightCornerType()
Gets the top right corner type. |
void |
setBottomLeftCornerSize(double bottomLeftCornerSize)
Set the bottom left corner size. |
void |
setBottomLeftCornerType(int bottomLeftCornerType)
Sets the bottom left corner type. |
void |
setBottomRightCornerSize(double bottomRightCornerSize)
Set the bottom right corner size. |
void |
setBottomRightCornerType(int bottomRightCornerType)
Sets the bottom right corner type. |
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. |
int |
setCDL(java.lang.String[] elements,
int offset)
Configures this object from a CDL parameter representation. |
void |
setTopLeftCornerSize(double topLeftCornerSize)
Set the top left corner size. |
void |
setTopLeftCornerType(int topLeftCornerType)
Sets the top left corner type. |
void |
setTopRightCornerSize(double topRightCornerSize)
Set the top right corner size. |
void |
setTopRightCornerType(int topRightCornerType)
Sets the top right corner type. |
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 CORNER_SQUARE
public static final int CORNER_ROUND
public static final int CORNER_SNIP
public static final int DEFAULT_CORNER_TYPE
public static final double DEFAULT_CORNER_SIZE
Constructor Detail |
---|
public NFCorners()
Method Detail |
---|
public double getTopLeftCornerSize()
public void setTopLeftCornerSize(double topLeftCornerSize)
topLeftCornerSize
- The top left corner size as a percentage or number of pixels.public int getTopLeftCornerType()
public void setTopLeftCornerType(int topLeftCornerType)
topLeftCornerType
- The top left corner typepublic double getTopRightCornerSize()
public void setTopRightCornerSize(double topRightCornerSize)
topLeftCornerSize
- The top right corner size as a percentage or number of pixels.public int getTopRightCornerType()
public void setTopRightCornerType(int topRightCornerType)
topRightCornerType
- The top right corner typepublic double getBottomLeftCornerSize()
public void setBottomLeftCornerSize(double bottomLeftCornerSize)
bottomLeftCornerSize
- The bottom left corner size as a percentage or number of pixels.public int getBottomLeftCornerType()
public void setBottomLeftCornerType(int bottomLeftCornerType)
bottomLeftCornerType
- The bottom left corner typepublic double getBottomRightCornerSize()
public void setBottomRightCornerSize(double bottomRightCornerSize)
bottomLeftCornerSize
- The bottom right corner size as a percentage or number of pixels.public int getBottomRightCornerType()
public void setBottomRightCornerType(int bottomRightCornerType)
bottomRightCornerType
- The bottom right corner typepublic java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
(topleft, topright, bottomright, bottomleft)
public void getCDL(java.lang.StringBuffer sb)
sb
- Target buffer to append the CDL parameterspublic 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: (topleft, topright, bottomright, bottomleft)
public int setCDL(java.lang.String[] elements, int offset)
elements
- Array of parameter elements. This array is expected
to contain consecutive elements containing (topleft, topright, bottomright, bottomleft)offset
- Offset into the elements array.
|
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 |