Package ipsk.audio.arr.clip.ui
Class BasicAudioClipUI.ViewSelection
- java.lang.Object
-
- ipsk.audio.arr.clip.ui.BasicAudioClipUI.ViewSelection
-
- Enclosing class:
- BasicAudioClipUI
public class BasicAudioClipUI.ViewSelection extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ViewSelection()ViewSelection(Selection s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetEnd()MarkergetEndMarker()longgetLeft()longgetLength()java.lang.StringgetName()longgetRight()SelectiongetSelection()longgetStart()MarkergetStartMarker()intgetXEnd()intgetXLeft()intgetXRight()intgetXStart()booleanisInSelection(long pos)booleanisInXSelection(int pixelPos)Returns true if the given UI position is inside the selection.voidlimitTo(long startLimit, long endLimit)voidsetEnd(long l)voidsetEndMarker(Marker endMarker)voidsetName(java.lang.String name)voidsetSelection(Selection selection)voidsetStart(long l)voidsetStartMarker(Marker startMarker)voidsetXEnd(int i)voidsetXStart(int i)
-
-
-
Constructor Detail
-
ViewSelection
public ViewSelection()
-
ViewSelection
public ViewSelection(Selection s)
-
-
Method Detail
-
getXLeft
public int getXLeft()
-
getXRight
public int getXRight()
-
setXEnd
public void setXEnd(int i)
-
getXEnd
public int getXEnd()
-
setXStart
public void setXStart(int i)
-
getXStart
public int getXStart()
-
isInXSelection
public boolean isInXSelection(int pixelPos)
Returns true if the given UI position is inside the selection.- Parameters:
pixelPos- UI position- Returns:
- true if the UI position is inside the selection
-
getEnd
public long getEnd()
-
getLength
public long getLength()
-
isInSelection
public boolean isInSelection(long pos)
-
limitTo
public void limitTo(long startLimit, long endLimit)
-
getSelection
public Selection getSelection()
-
setSelection
public void setSelection(Selection selection)
-
getEndMarker
public Marker getEndMarker()
-
getLeft
public long getLeft()
-
getName
public java.lang.String getName()
-
getRight
public long getRight()
-
getStart
public long getStart()
-
getStartMarker
public Marker getStartMarker()
-
setEnd
public void setEnd(long l)
-
setEndMarker
public void setEndMarker(Marker endMarker)
-
setName
public void setName(java.lang.String name)
-
setStart
public void setStart(long l)
-
setStartMarker
public void setStartMarker(Marker startMarker)
-
-