public static class TLcdWMSGetFeatureInfoContext.Builder extends Object
TLcdWMSGetFeatureInfoContext
objects. Use TLcdWMSGetFeatureInfoContext.newBuilder()
to create an instance of this builder. Note that is most cases, it should not be needed to create a
TLcdWMSGetFeatureInfoContext
. It can be retrieved from the layer. For more information, see
TLcdWMSGetFeatureInfoContext
class doc.Modifier and Type | Method and Description |
---|---|
TLcdWMSGetFeatureInfoContext.Builder |
all(TLcdWMSGetFeatureInfoContext aGetFeatureInfoContext)
Sets all parameters on the builder based on the given GetFeatureInfo context.
|
TLcdWMSGetFeatureInfoContext |
build()
Builds the context with the set parameters.
|
TLcdWMSGetFeatureInfoContext.Builder |
getMapContext(TLcdWMSGetMapContext aGetMapContext)
Sets the GetMap context used for a GetFeatureInfo request.
|
TLcdWMSGetFeatureInfoContext.Builder |
queryCoordinate(int aX,
int aY)
Sets the coordinate used for the query.
|
public TLcdWMSGetFeatureInfoContext.Builder queryCoordinate(int aX, int aY)
Sets the coordinate used for the query. This method should be called before calling build()
.
aX
- the x coordinate (in view coordinates)aY
- the y coordinate (in view coordinates)this
public TLcdWMSGetFeatureInfoContext.Builder getMapContext(TLcdWMSGetMapContext aGetMapContext)
Sets the GetMap context used for a GetFeatureInfo request. This method should be called before calling
build()
.
aGetMapContext
- the GetMap context used for a GetFeatureInfo request.this
public TLcdWMSGetFeatureInfoContext.Builder all(TLcdWMSGetFeatureInfoContext aGetFeatureInfoContext)
Sets all parameters on the builder based on the given GetFeatureInfo context.
This is useful for example to create a new context that has almost all properties equal to another context.
aGetFeatureInfoContext
- a GetFeatureInfo contextthis
public TLcdWMSGetFeatureInfoContext build()