|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.portal.context.LayerExtension
public class LayerExtension
provides additional information about a layer described in a web map context document. Additional description is not requiered so an instance of org.deegree_impl.clients.context.Layer may doesn't provide an instance of this class.
Field Summary | |
---|---|
static int |
NONE
|
static int |
SESSIONID
|
static int |
USERPASSWORD
|
Constructor Summary | |
---|---|
LayerExtension()
default constructor |
|
LayerExtension(DataService dataService,
boolean masterLayer,
double minScaleHint,
double maxScaleHint,
boolean selectedForQuery,
int authentication,
int parentNodeId,
boolean showLegendGraphic)
Creates a new LayerExtension object. |
Method Summary | |
---|---|
void |
addVendorspecificParameter(String name,
String value)
|
int |
getAuthentication()
returns a code for authentication to be used for service requests |
DataService |
getDataService()
returns a description of the service/server behind a WMS layer. |
double |
getMaxScaleHint()
returns the maximum sclae the layer is valid |
double |
getMinScaleHint()
returns the minimum sclae the layer is valid |
int |
getParentNodeId()
returns true the id of the node to which the layer belongs in the layertree |
boolean |
getShowLegendGraphic()
returns true if the legendGraphic of the layer should be drawn in the layerlistview |
String |
getVendorspecificParameter(String name)
|
Iterator<String> |
getVendorspecificParameterNames()
|
boolean |
isMasterLayer()
returns true if a layer is one of the main layers of an application; returns false if it just provides background or additional informations. |
boolean |
isSelectedForQuery()
returns true if a layer is currently selected for being active for feature info requests |
void |
setAuthentication(int authentication)
|
void |
setDataService(DataService dataService)
sets a description of the service/server behind a WMS layer. |
void |
setMasterLayer(boolean masterLayer)
set to true if a layer is one of the main layers of an application; set to false if it just provides background or additional informations. |
void |
setMaxScaleHint(double maxScaleHint)
sets the maximum scale the layer is valid for |
void |
setMinScaleHint(double minScaleHint)
sets the minimum scale the layer is valid for |
void |
setParentNodeId(int parentNodeId)
|
void |
setSelectedForQuery(boolean selectedForFI)
sets a layer to active for feature info requests |
void |
setShowLegendGraphic(boolean showLegendGraphic)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int SESSIONID
public static final int USERPASSWORD
Constructor Detail |
---|
public LayerExtension()
public LayerExtension(DataService dataService, boolean masterLayer, double minScaleHint, double maxScaleHint, boolean selectedForQuery, int authentication, int parentNodeId, boolean showLegendGraphic)
dataService
- description of the service/server behind a WMS layermasterLayer
- true if a layer is one of the main layers of an application; false if it just
provides background or additional informations.minScaleHint
- maxScaleHint
- selectedForQuery
- authentication
- Method Detail |
---|
public DataService getDataService()
public void setDataService(DataService dataService)
dataService
- public boolean isMasterLayer()
public void setMasterLayer(boolean masterLayer)
masterLayer
- public double getMaxScaleHint()
public void setMaxScaleHint(double maxScaleHint)
maxScaleHint
- public double getMinScaleHint()
public void setMinScaleHint(double minScaleHint)
minScaleHint
- public boolean isSelectedForQuery()
true
if a layer is currently selected for being active for feature
info requestspublic void setSelectedForQuery(boolean selectedForFI)
selectedForFI
- public int getAuthentication()
public void setAuthentication(int authentication)
authentication
- getAuthentication()
public boolean getShowLegendGraphic()
true
if the legendGraphic of the layer should be drawn in the
layerlistviewpublic int getParentNodeId()
true
the id of the node to which the layer belongs in the layertreepublic void setShowLegendGraphic(boolean showLegendGraphic)
showLegendGraphic
- public void setParentNodeId(int parentNodeId)
parentNodeId
- public void addVendorspecificParameter(String name, String value)
name
- value
- public String getVendorspecificParameter(String name)
name
-
public Iterator<String> getVendorspecificParameterNames()
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net