|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.waveform.Selection
A selection is an immutable class, that represents a selection consisting of a left and a right border
| Field Summary | |
|---|---|
protected int |
left
The left border |
protected int |
right
The left border |
| Constructor Summary | |
|---|---|
Selection(int left)
Create a new Selection which has the same left and right border |
|
Selection(int left,
int right)
Create a new selection |
|
| Method Summary | |
|---|---|
int |
getLeft()
Get the value of the left border |
int |
getLength()
Get the length of this selection |
int |
getRight()
Get the value for the right border |
boolean |
isEmpty()
Ask this Selection, if its left border is the same than its right border |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final int left
protected final int right
| Constructor Detail |
|---|
public Selection(int left)
left - The value for the left and the right border
public Selection(int left,
int right)
left - The value for the left borderright - The value for the right border| Method Detail |
|---|
public int getLeft()
public int getLength()
public int getRight()
public boolean isEmpty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||