Interface LinesProvider
-
- All Known Implementing Classes:
HexWithControls,TextWithControls
public interface LinesProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLinesProvider.LinesFormat
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description javax.swing.JComponentasComponent()voidclose()java.io.FilegetFile()java.util.List<java.lang.String>getLines(LinesProvider.LinesFormat type)java.lang.StringgetName()booleanisBin()default booleanisText()voidopen(java.io.File f)voidredo()voidresetUndoRedo()voidsave(java.io.File f)voidsetFile(java.io.File f)voidsetLines(LinesProvider.LinesFormat type, java.util.List<java.lang.String> nwContent)voidundo()
-
-
-
Method Detail
-
getLines
java.util.List<java.lang.String> getLines(LinesProvider.LinesFormat type)
-
getName
java.lang.String getName()
-
setLines
void setLines(LinesProvider.LinesFormat type, java.util.List<java.lang.String> nwContent) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isBin
boolean isBin()
-
isText
default boolean isText()
-
getFile
java.io.File getFile()
-
setFile
void setFile(java.io.File f)
-
open
void open(java.io.File f) throws java.io.IOException
- Throws:
java.io.IOException
-
save
void save(java.io.File f) throws java.io.IOException
- Throws:
java.io.IOException
-
asComponent
javax.swing.JComponent asComponent()
-
undo
void undo()
-
redo
void redo()
-
resetUndoRedo
void resetUndoRedo()
-
close
void close()
-
-