deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.graphics
Interface Selector


public interface Selector

------------------------------------------------------------------------

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth

Method Summary
 void addTheme(Theme theme)
          adds a Theme to the Selector that shall be notified if something happens.
 java.lang.String[] invertSelection()
          inverts the current selection.
 void removeTheme(Theme theme)
           
 void reset()
          mark all features as unselected
 java.lang.String[] select(Envelope boundingbox)
          selects all features (display elements) that are located within the submitted bounding box.
 java.lang.String[] select(Position position)
          selects all features (display elements) that intersects the submitted point. if a feature is already selected it remains selected.
 java.lang.String[] select(Position position, double radius)
          selects all features (display elements) that are located within the circle described by the position and the radius. if a feature is already selected it remains selected.
 java.lang.String[] select(java.lang.String[] ids)
          selects all features (display elements) that are specified by the submitted ids. if a feature is already selected it remains selected.
 

Method Detail

addTheme

void addTheme(Theme theme)
adds a Theme to the Selector that shall be notified if something happens.

Parameters:
theme - to add.

removeTheme

void removeTheme(Theme theme)
Parameters:
theme - to be removed
See Also:
addTheme(Theme)

select

java.lang.String[] select(Envelope boundingbox)
selects all features (display elements) that are located within the submitted bounding box.

Parameters:
boundingbox - to select all features within
Returns:
id's of the selected features (display elements)

select

java.lang.String[] select(Position position)
selects all features (display elements) that intersects the submitted point. if a feature is already selected it remains selected.

Parameters:
position - to select the features with.
Returns:
id's of the selected features (display elements)

select

java.lang.String[] select(Position position,
                          double radius)
selects all features (display elements) that are located within the circle described by the position and the radius. if a feature is already selected it remains selected.

Parameters:
position - to select al features
radius - around the given position
Returns:
id's of the selected features (display elements)

select

java.lang.String[] select(java.lang.String[] ids)
selects all features (display elements) that are specified by the submitted ids. if a feature is already selected it remains selected.

Parameters:
ids - to select
Returns:
ids of the selected features (display elements)

invertSelection

java.lang.String[] invertSelection()
inverts the current selection.

Returns:
the id's of the inverted selection

reset

void reset()
mark all features as unselected


deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org