| Modifier and Type | Field and Description |
|---|---|
| private DataHandler | |
| private Panel | |
| private InputStream | |
| private boolean | |
| private FileInputStream | |
| private GridBagLayout | |
| private Button | |
| private TextArea | |
| private String | |
| private File |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent
the event to be processed evt)Implements java. |
| private void | addGridComponent(Container cont, Component comp, GridBagLayout mygb, int gridx, int gridy, int gridw, int gridh, int weightx, int weighty)
adds a component to our gridbag layout |
| public void | |
| public Dimension | getPreferredSize()
Overrides java. |
| private void | |
| public void | setCommandContext(String
The Command Verb this object refers to. verb, DataHandler The DataHandler. dh)Implements javax. Note it is acceptable for the caller
to pass null as the value for |
| public void |
| _dh | back to summary |
|---|---|
| private DataHandler _dh | |
| button_panel | back to summary |
|---|---|
| private Panel button_panel | |
| data_ins | back to summary |
|---|---|
| private InputStream data_ins | |
| DEBUG | back to summary |
|---|---|
| private boolean DEBUG | |
| fis | back to summary |
|---|---|
| private FileInputStream fis | |
| panel_gb | back to summary |
|---|---|
| private GridBagLayout panel_gb | |
| save_button | back to summary |
|---|---|
| private Button save_button | |
| text_area | back to summary |
|---|---|
| private TextArea text_area | |
| text_buffer | back to summary |
|---|---|
| private String text_buffer | |
| text_file | back to summary |
|---|---|
| private File text_file | |
| TextEditor | back to summary |
|---|---|
| public TextEditor() Constructor | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent evt) Implements java. Doc from java. Invoked when an action occurs.
| |
| addGridComponent | back to summary |
|---|---|
| private void addGridComponent(Container cont, Component comp, GridBagLayout mygb, int gridx, int gridy, int gridw, int gridh, int weightx, int weighty) adds a component to our gridbag layout | |
| addNotify | back to summary |
|---|---|
| public void addNotify() Overrides java. Doc from java. Creates the Panel's peer. The peer allows you to modify the appearance of the panel without changing its functionality. | |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize() Overrides java. Doc from java. Returns the preferred size of this container. If the preferred size has
not been set explicitly by Note some implementations may cache the value returned from the
| |
| performSaveOperation | back to summary |
|---|---|
| private void performSaveOperation() | |
| setCommandContext | back to summary |
|---|---|
| public void setCommandContext(String verb, DataHandler dh) throws IOException Implements javax. Doc from javax. Initialize the Command with the verb it is requested to handle and the DataHandler that describes the data it will operate on Note it is acceptable for the caller
to pass null as the value for
| |
| setInputStream | back to summary |
|---|---|
| public void setInputStream(InputStream ins) throws IOException set the data stream, component to assume it is ready to be read. | |