|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.acetate.Object | +--com.esri.aims.mtier.model.acetate.NorthArrow
Defines a NorthArrow object to be drawn as an acetate layer.
The NorthArrow object extends the Object
class in the Acetate package.
Field Summary | |
static String |
STYLE1
|
static String |
STYLE2
|
static String |
STYLE3
|
static String |
STYLE4
|
static String |
STYLE5
|
static String |
STYLE6
|
static String |
STYLE7
|
static String |
STYLE8
|
Constructor Summary | |
NorthArrow()
Constructs an instance of a NorthArrow object. |
Method Summary | |
double |
getAngle()
Returns the angle associated with this NorthArrow object. |
String |
getArrowType()
Returns the arrow type associated with this NorthArrow object. |
String |
getOutline()
Returns the outline color associated with this NorthArrow object. |
String |
getShadow()
Returns the shadow color associated with this NorthArrow object. |
int |
getSize()
Returns the size associated with this NorthArrow object. |
double |
getTransparency()
Returns the transparency value associated with this NorthArrow object. |
String |
getType()
Returns the acetate object type as 'NorthArrow'. |
double |
getX()
Returns the x-coordinate location of this NorthArrow object. |
double |
getY()
Returns the y-coordinate location of this NorthArrow object. |
boolean |
isAntialiasing()
Returns True if the antialiasing value is set to true. |
boolean |
isOverlap()
Returns True, if the NorthArrow object's overlap value is set to "True". |
void |
setAngle(double value)
Set's the angle of the north arrow in degrees. |
void |
setAntialiasing(boolean value)
Sets the antialiasing value for this NorthArrow object. |
void |
setArrowType(String value)
Sets the arrow type value for this NorthArrow object. |
void |
setOutline(String value)
Sets the outline color for this NorthArrow object. |
void |
setOverlap(boolean value)
Sets if labels can overlap this NorthArrow object. |
void |
setShadow(String value)
Sets the shadow color for this NorthArrow object. |
void |
setSize(int value)
Sets the given value as size for this NorthArrow object. |
void |
setTransparency(double value)
Sets the percentage of transparency for this object. |
void |
setX(double value)
Sets the x-coordinate location for this object. |
void |
setY(double value)
Sets the y-coordinate location for this NorthArrow object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String STYLE1
public static final String STYLE2
public static final String STYLE3
public static final String STYLE4
public static final String STYLE5
public static final String STYLE6
public static final String STYLE7
public static final String STYLE8
Constructor Detail |
public NorthArrow()
Example: NorthArrow nortArrow = new NorthArrow();
Method Detail |
public String getType()
Example: String type = northArrow.getType();
getType
in interface MapSurroundings
getType
in class Object
public void setTransparency(double value)
Example: northArrow.setTransparency(1.0);
value
- the transparency valuegetTransparency()
public double getTransparency()
Example: double transparency = northArrow.getTransparency();
setTransparency(double)
public void setOverlap(boolean value)
northArrow.setOverlap(true);
value
- the overlap value.isOverlap()
public boolean isOverlap()
Example: if(northArrow.isOverlap == true){ northArrow.setOverlap(false); }
setOverlap(boolean)
public void setX(double value)
Example: northArrow.setX(-125.0);
value
- the x-coordinate locationgetX()
public double getX()
Example: double x = northArrow.getX();
setX(double)
public void setY(double value)
Example: northArrow.setY(45.0);
value
- the y-coordinate locationgetY()
public double getY()
Example: double y = northArrow.getY();
setY(double)
public void setShadow(String value)
Example: northArrow.setShadow("125,0,0");
value
- the shadow color value.getShadow()
public String getShadow()
Example: String shadow = northArrow.getShadow();
setShadow(java.lang.String)
public void setArrowType(String value)
Example: northArrow.setArrowType(northArrow.STYLE1);
value
- the arrow type value.getArrowType()
public String getArrowType()
Example: String arrowtype = northArrow.getArrowType();
setArrowType(java.lang.String)
public void setSize(int value)
Example: northArrow.setSize(25);
value
- the size valuegetSize()
public int getSize()
int size = northArrow.getSize();
setSize(int)
public void setAngle(double value)
Example: northArrow.setAngle(45.0);
value
- the angle value.getAngle()
public double getAngle()
double angle = northArrow.getAngle();
setAngle(double)
public void setOutline(String value)
Example: northArrow.setOutline("0,0,0");
value
- the color value.getOutline()
public String getOutline()
Example: String outline = northArrow.getOutline();
setOutline(java.lang.String)
public void setAntialiasing(boolean value)
Example: northArrow.setAntialiasing(true);
value
- the antialiasing value.isAntialiasing()
public boolean isAntialiasing()
if(northArrow.isAntialiasing() == true){ northArrow.setAntialiasing(false); }
setAntialiasing(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |