Interface LinesProvider
-
- All Known Implementing Classes:
HexWithControls
,TextWithControls
public interface LinesProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LinesProvider.LinesFormat
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description javax.swing.JComponent
asComponent()
void
close()
java.io.File
getFile()
java.util.List<java.lang.String>
getLines(LinesProvider.LinesFormat type)
java.lang.String
getName()
boolean
isBin()
default boolean
isText()
void
open(java.io.File f)
void
redo()
void
resetUndoRedo()
void
save(java.io.File f)
void
setFile(java.io.File f)
void
setLines(LinesProvider.LinesFormat type, java.util.List<java.lang.String> nwContent)
void
undo()
-
-
-
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()
-
-