deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.graphics
Interface Selector


public interface Selector

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

Version:
$Revision: 9340 $ $Date: 2007-12-27 13:32:12 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth

Method Summary
 void addTheme(Theme theme)
          adds a Theme to the Selector that shall be notified if something happens.
 String[] invertSelection()
          invertes the current selection.
 void removeTheme(Theme theme)
           
 void reset()
          marks all features as unselected
 String[] select(Envelope boundingbox)
          selects all features (display elements) that are located within the submitted bounding box.
 String[] select(Position position)
          selects all features (display elements) that intersects the submitted point. if a feature is already selected it remains selected.
 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.
 String[] select(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.


removeTheme

void removeTheme(Theme theme)
See Also:
addTheme(Theme)

select

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

Returns:
ids of the selected features (display elements)

select

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

Returns:
ids of the selected features (display elements)

select

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.

Returns:
ids of the selected features (display elements)

select

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

Returns:
ids of the selected features (display elements)

invertSelection

String[] invertSelection()
invertes the current selection.


reset

void reset()
marks all features as unselected


deegree 2.2 (2008/12/22 11:33 build-3038-official)

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