Package org.exbin.bined
Interface CodeAreaControl
-
- All Superinterfaces:
DataProvider
public interface CodeAreaControl extends DataProvider
Code Area control interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanPaste()Returns true if content of the clipboard is valid for paste operation.voidclearSelection()Clears data selection.voidcopy()Copies selection to clipboard.voidcut()Cuts selection to clipboard.voiddelete()Deletes selected section.booleanhasSelection()Returns true if selection is not empty.voidpaste()Pastes content of the clipboard.voidselectAll()Expands selection to all data.-
Methods inherited from interface org.exbin.bined.DataProvider
getContentData, getDataSize
-
-
-
-
Method Detail
-
copy
void copy()
Copies selection to clipboard.
-
cut
void cut()
Cuts selection to clipboard.
-
paste
void paste()
Pastes content of the clipboard.
-
delete
void delete()
Deletes selected section.
-
selectAll
void selectAll()
Expands selection to all data.
-
canPaste
boolean canPaste()
Returns true if content of the clipboard is valid for paste operation.- Returns:
- true if paste can proceed
-
hasSelection
boolean hasSelection()
Returns true if selection is not empty.- Returns:
- true if selection is not empty
-
clearSelection
void clearSelection()
Clears data selection.
-
-