org.netbeans.api.visual 2.17.1

org.netbeans.api.visual.action
Interface ContiguousSelectProvider


public interface ContiguousSelectProvider

Provides a logic for ContiguousSelectAction.

Since:
2.17

Method Summary
 boolean isSelectionAllowed(ContiguousSelectEvent event)
          Called to resolve whether a selection is allowed.
 void select(ContiguousSelectEvent event)
          Should perform the selection.
 

Method Detail

isSelectionAllowed

boolean isSelectionAllowed(ContiguousSelectEvent event)
Called to resolve whether a selection is allowed.

Parameters:
event - the range select event
Returns:
true, if allowed; false, if not

select

void select(ContiguousSelectEvent event)
Should perform the selection. Call event.getSelectionType() to resolve the type of selection.

Parameters:
event - the range select event

org.netbeans.api.visual 2.17.1

Built on November 10 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.