|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
No authentication type |
static int |
SESSIONID
The session id authentication type |
static int |
USERPASSWORD
The user password authentication type |
Constructor Summary | |
---|---|
LayerExtension()
default constructor |
|
LayerExtension(DataService dataService,
boolean masterLayer,
double minScaleHint,
double maxScaleHint,
boolean selectedForQuery,
int authentication,
int parentNodeId,
boolean showLegendGraphic)
Deprecated. |
|
LayerExtension(DataService dataService,
boolean masterLayer,
double minScaleHint,
double maxScaleHint,
boolean selectedForQuery,
int authentication,
int parentNodeId,
boolean showLegendGraphic,
java.lang.String identifier)
Creates a new LayerExtension object. |
Method Summary | |
---|---|
void |
addVendorspecificParameter(java.lang.String name,
java.lang.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. |
java.lang.String |
getIdentifier()
|
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 |
java.lang.String |
getVendorspecificParameter(java.lang.String name)
|
java.util.Iterator<java.lang.String> |
getVendorspecificParameterNames()
|
boolean |
isMasterLayer()
|
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 |
setIdentifier(java.lang.String identifier)
|
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()
@Deprecated public LayerExtension(DataService dataService, boolean masterLayer, double minScaleHint, double maxScaleHint, boolean selectedForQuery, int authentication, int parentNodeId, boolean showLegendGraphic)
dataService
- masterLayer
- minScaleHint
- maxScaleHint
- selectedForQuery
- authentication
- parentNodeId
- showLegendGraphic
- public LayerExtension(DataService dataService, boolean masterLayer, double minScaleHint, double maxScaleHint, boolean selectedForQuery, int authentication, int parentNodeId, boolean showLegendGraphic, java.lang.String identifier)
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
- parentNodeId
- showLegendGraphic
- identifier
- Method Detail |
---|
public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
identifier
- the identifier to setpublic 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(java.lang.String name, java.lang.String value)
name
- value
- public java.lang.String getVendorspecificParameter(java.lang.String name)
name
-
null
if no such parameter exists.public java.util.Iterator<java.lang.String> getVendorspecificParameterNames()
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org