| Modifier and Type | Field and Description |
|---|---|
| private final Runnable | |
| private final Consumer | |
| private final String | |
| private static final String | |
| private ResourceBundle | |
| private final Consumer | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | EditPad(String
the label string for the Edit Pad window windowLabel, Consumer<String> a handler for unexpected errors errorHandler, String the source to load in the Edit Pad initialText, Runnable a Runnable that is run when Edit Pad closes closeMark, Consumer<String> a handler for changed source (sent the full source) saveHandler)Create an Edit Pad minimal editor. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private JPanel | |
| private void | |
| private String | |
| public void |
| closeMark | back to summary |
|---|---|
| private final Runnable closeMark | |
| errorHandler | back to summary |
|---|---|
| private final Consumer<String> errorHandler | |
| initialText | back to summary |
|---|---|
| private final String initialText | |
| L10N_RB_NAME | back to summary |
|---|---|
| private static final String L10N_RB_NAME | |
| rb | back to summary |
|---|---|
| private ResourceBundle rb | |
| saveHandler | back to summary |
|---|---|
| private final Consumer<String> saveHandler | |
| windowLabel | back to summary |
|---|---|
| private final String windowLabel | |
| EditPad | back to summary |
|---|---|
| pack-priv EditPad(String windowLabel, Consumer<String> errorHandler, String initialText, Runnable closeMark, Consumer<String> saveHandler) Create an Edit Pad minimal editor.
| |
| addButton | back to summary |
|---|---|
| private void addButton(JPanel buttons, String rkey, int mnemonic, ActionListener action) | |
| buttons | back to summary |
|---|---|
| private JPanel buttons(Runnable closer, JTextArea textArea) | |
| error | back to summary |
|---|---|
| private void error(String fmt, Object... args) | |
| getResourceString | back to summary |
|---|---|
| private String getResourceString(String key) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |