|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwo.landserf.process.io.FeatureStyle
public class FeatureStyle
Stores a simple colour representation of a KML style that can be flagged to be associated with any combination of points, lines or areas.
Constructor Summary | |
---|---|
FeatureStyle(String colour,
boolean isPoint,
boolean isLine,
boolean isPolygon)
Creates a colour that can be associated with an attribute value. |
Method Summary | |
---|---|
String |
getColour()
Reports the colour to be associated with an object. |
boolean |
isLine()
Reports whether the style is to be associated with a line object. |
boolean |
isPoint()
Reports whether the style is to be associated with a point object. |
boolean |
isPolygon()
Reports whether the style is to be associated with a polygon object. |
void |
setIsLine(boolean isLine)
Determines whether or not style is to be associated with lines. |
void |
setIsPoint(boolean isPoint)
Determines whether or not style is to be associated with points. |
void |
setIsPolygon(boolean isPolygon)
Determines whether or not style is to be associated with polygons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureStyle(String colour, boolean isPoint, boolean isLine, boolean isPolygon)
colour
- String representing KML colour in the form of 'aabbggrr' in hex.isPoint
- Colour associated with point objects if true.isLine
- Colour associated with line objects if true.isPolygon
- Colour associated with polygon objects if true.Method Detail |
---|
public String getColour()
public boolean isPoint()
public boolean isLine()
public boolean isPolygon()
public void setIsPoint(boolean isPoint)
isPoint
- Determines if points have this style.public void setIsLine(boolean isLine)
isLine
- Determines if lines have this style.public void setIsPolygon(boolean isPolygon)
isPolygon
- Determines if polygons have this style.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |