se.biltmore.tools.fileeditor
Class Selection

java.lang.Object
  extended by se.biltmore.tools.fileeditor.Selection

public class Selection
extends Object


Constructor Summary
Selection()
          Creates a new instance of Selection.
Selection(Position start, Position end)
          Creates a new instance of Selection.
 
Method Summary
 Position getEnd()
          Returns the end of the selection.
 Position getStart()
          Returns the start of the selection.l
 void setEnd(Position end)
          Sets the end position.
 void setStart(Position start)
          Sets the start position.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Selection

public Selection()
Creates a new instance of Selection.


Selection

public Selection(Position start,
                 Position end)
Creates a new instance of Selection.

Parameters:
start - The start of the selection.
end - The end of the selection.
Method Detail

setStart

public void setStart(Position start)
Sets the start position.

Parameters:
start - The start position to set.

getStart

public Position getStart()
Returns the start of the selection.l


setEnd

public void setEnd(Position end)
Sets the end position.

Parameters:
end - The position to set.

getEnd

public Position getEnd()
Returns the end of the selection.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 Biltmore Group AB. All Rights Reserved.