public class Layer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Constructor and Description |
---|
Layer(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
static long |
getCPtr(Layer obj) |
int |
getPriority()
Returns the layer task priority of this layer.
|
MapRange |
getVisibleZoomRange()
Returns the visible zoom range of this layer.
|
int |
hashCode()
Returns the hash value of this object.
|
boolean |
isUpdateInProgress()
Tests whether this layer is being currently updated.
|
boolean |
isVisible()
Returns the visibility of this layer.
|
void |
refresh()
Refreshes the layer using old stored visibility information.
|
void |
setPriority(int priority)
Sets the layer task priority.
|
void |
setVisible(boolean visible)
Sets the visibility of this layer.
|
void |
setVisibleZoomRange(MapRange range)
Set the visible zoom range for this layer.
|
static Layer |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
void |
update(CullState cullState)
Updates the layer using new visibility information.
|
public static long getCPtr(Layer obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public static Layer swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getPriority()
public void setPriority(int priority)
priority
- The new task priority for this layer, higher values get better access.public boolean isVisible()
public void setVisible(boolean visible)
visible
- The new visibility state of the layer.public MapRange getVisibleZoomRange()
public void setVisibleZoomRange(MapRange range)
range
- new visible zoom rangepublic boolean isUpdateInProgress()
public void update(CullState cullState)
cullState
- The new visibilty information.public void refresh()
public java.lang.String swigGetClassName()
public java.lang.Object swigGetDirectorObject()