deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.graphics
Interface Selector


public interface Selector

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

Version:
$Revision: 6259 $ $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 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.1 (2007/11/08 09:57 build-328-official)

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