Package heronarts.glx.ui.component
Class UIInputBox.EditState
java.lang.Object
heronarts.glx.ui.component.UIInputBox.EditState
- Enclosing class:
- UIInputBox
-
Field Summary
Modifier and TypeFieldDescriptionint
double
int
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
animateCursor
(double deltaMs) void
append
(char append) void
void
cursorLeft
(KeyEvent keyEvent) void
cursorRight
(KeyEvent keyEvent) cut()
void
delete()
void
getRange()
void
void
void
setCursor
(int cursor) void
setRange
(int cursor)
-
Field Details
-
buffer
-
cursor
public int cursor -
rangeStart
public int rangeStart -
rangeEnd
public int rangeEnd -
cursorBasis
public double cursorBasis
-
-
Constructor Details
-
EditState
public EditState()
-
-
Method Details
-
animateCursor
public void animateCursor(double deltaMs) -
init
-
cut
-
selectAll
public void selectAll() -
deleteAll
public void deleteAll() -
delete
public void delete() -
setRange
public void setRange(int cursor) -
setCursor
public void setCursor(int cursor) -
append
public void append(char append) -
append
-
getRange
-
cursorLeft
-
cursorRight
-