|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.server.LayerDefinition
Holds information for a layer.
Constructor Summary | |
LayerDefinition()
Creates new LayerDefinition |
|
LayerDefinition(java.lang.String inName)
Creates new LayerDefinition |
Method Summary | |
void |
addStyle(Style inStyle)
Add a given style to the list of available styles. |
DataSource |
getDataSource()
Get the data source to use with this layer definition. |
Projection |
getFromProjection()
|
Envelope |
getLatLonEnvelope()
Get the maximum Envelope of the map in Latitude and longitude. |
Layer |
getLayer()
Returns the layer. |
Layer |
getLayer(java.lang.String inStyle)
Returns the layer with the given definition and style. |
java.lang.String |
getLayerName()
Get the name of the layer. |
java.lang.String |
getLayerTitle()
Get the name of the layer. |
double |
getMaxDisplayDistance()
This layer will only be drawn if the width of the view is less than this distance. |
double |
getMaxLabelDistance()
This label will only be drawn if the width of the view is less than this distance. |
double |
getMinDisplayDistance()
This layer will only be drawn if the width of the view is greater than this distance. |
double |
getMinLabelDistance()
This label will only be drawn if the width of the view is greater than this distance. |
Style |
getStyle(java.lang.String inStyleName)
Retrieve the style with this name from the list of available styles. |
Style[] |
getStyles()
Retrieve a list of the available styles for this layer. |
void |
removeStyle(Style inStyle)
Remove a given style from the list of available styles. |
void |
setDataSource(DataSource inDataSource)
Set the data source to use with this layer definition. |
void |
setFromProjection(Projection inProjection)
Set the from projection to use for this layer. |
void |
setLatLonEnvelope(Envelope inEnvelope)
Set the maximum extends of the map in latitude and logitude. |
void |
setLayerName(java.lang.String inLayerName)
Set the name of the layer. |
void |
setLayerTitle(java.lang.String inLayerTitle)
Set the name of the layer. |
void |
setMaxDisplayDistance(double inMaxDisplayDistance)
This layer will only be drawn if the width of the view is less than this distance. |
void |
setMaxLabelDistance(double inMaxLabelDistance)
This label will only be drawn if the width of the view is less than this distance. |
void |
setMinDisplayDistance(double inMinDisplayDistance)
This layer will only be drawn if the width of the view is greater than this distance. |
void |
setMinLabelDistance(double inMinLabelDistance)
This label will only be drawn if the width of the view is greater than this distance. |
protected void |
setProjection(Projection inProjection)
Set the projection to use for this layer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LayerDefinition()
public LayerDefinition(java.lang.String inName)
Method Detail |
public void setLayerName(java.lang.String inLayerName)
public java.lang.String getLayerName()
public void setLayerTitle(java.lang.String inLayerTitle)
public java.lang.String getLayerTitle()
public void setMaxDisplayDistance(double inMaxDisplayDistance)
public double getMaxDisplayDistance()
public void setMinDisplayDistance(double inMinDisplayDistance)
public double getMinDisplayDistance()
public void setMaxLabelDistance(double inMaxLabelDistance)
public double getMaxLabelDistance()
public void setMinLabelDistance(double inMinLabelDistance)
public double getMinLabelDistance()
public void setLatLonEnvelope(Envelope inEnvelope)
public Envelope getLatLonEnvelope()
public void setDataSource(DataSource inDataSource)
public DataSource getDataSource()
public void setFromProjection(Projection inProjection) throws java.lang.Exception
java.lang.Exception
public Projection getFromProjection()
public void addStyle(Style inStyle)
public void removeStyle(Style inStyle)
public Style[] getStyles()
public Style getStyle(java.lang.String inStyleName)
protected void setProjection(Projection inProjection) throws java.lang.Exception
java.lang.Exception
public Layer getLayer() throws java.lang.Exception
java.lang.Exception
public Layer getLayer(java.lang.String inStyle) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |