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 boolean
canPaste()
Returns true if content of the clipboard is valid for paste operation.void
clearSelection()
Clears data selection.void
copy()
Copies selection to clipboard.void
cut()
Cuts selection to clipboard.void
delete()
Deletes selected section.boolean
hasSelection()
Returns true if selection is not empty.void
paste()
Pastes content of the clipboard.void
selectAll()
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.
-
-