|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.applications.glider.GliderRegionOfInterest
public class GliderRegionOfInterest
Describes a region to highlight. Current highlight method is to draw the region's border in an application specified color.
Nested Class Summary | |
---|---|
static class |
GliderRegionOfInterest.RegionSet
A class to encapsulate an unmodifiable list of regions, useful when region lists are passed as properties. |
Field Summary | |
---|---|
static String |
GLIDER_REGION_OF_INTEREST
|
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
changeSupport |
Constructor Summary | |
---|---|
GliderRegionOfInterest(GliderRegionOfInterest region)
Copy constructor. |
|
GliderRegionOfInterest(Iterable<? extends LatLon> locations,
Color color)
Create a region of interest and assign it a color. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Color |
getColor()
Return the region's color. |
List<LatLon> |
getLocations()
Returns the region's vertices. |
int |
hashCode()
|
void |
setColor(Color color)
Set the region's color. |
void |
setLocations(Iterable<? extends LatLon> locations)
Set the region's location. |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String GLIDER_REGION_OF_INTEREST
Constructor Detail |
---|
public GliderRegionOfInterest(GliderRegionOfInterest region)
region
- the region of interest to copy.
IllegalArgumentException
- if region
is null.public GliderRegionOfInterest(Iterable<? extends LatLon> locations, Color color)
locations
- the lat/lon vertices of the region of interest.color
- the color in which to draw the region.
IllegalArgumentException
- if either argument is null.Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public Color getColor()
public List<LatLon> getLocations()
public int hashCode()
hashCode
in class Object
public void setColor(Color color)
color
- the color in which to draw the region.
IllegalArgumentException
- if color
is null.public void setLocations(Iterable<? extends LatLon> locations)
locations
- the lat/lon vertices of the region.
IllegalArgumentException
- if locations
is null.
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |