com.algosome.common.event
Class SelectionImpl

java.lang.Object
  extended by com.algosome.common.event.SelectionImpl
All Implemented Interfaces:
Selection

public class SelectionImpl
extends java.lang.Object
implements Selection

Implementation of the Selection interface

Author:
Greg Cope

Constructor Summary
SelectionImpl(int start, int end)
          Defines a start and end of a selection
 
Method Summary
 int getSelectionEnd()
           
 int getSelectionStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionImpl

public SelectionImpl(int start,
                     int end)
Defines a start and end of a selection

Parameters:
start -
end -
Method Detail

getSelectionEnd

public int getSelectionEnd()
Specified by:
getSelectionEnd in interface Selection
Returns:

getSelectionStart

public int getSelectionStart()
Specified by:
getSelectionStart in interface Selection
Returns: