ActionListener
, EventListener
public class TextBoxDialoger extends Object implements ActionListener
Modifier and Type | Class | Description |
---|---|---|
static class |
TextBoxDialoger.TextBoxDoubleClick |
Class to display a dialog box and cell's content
when double click on a table's cell
|
static class |
TextBoxDialoger.TextBoxDoubleClickPressed |
Class to edit in a dialog box the cell's content
when double (pressed) click on a table's cell which is editable
|
Constructor | Description |
---|---|
TextBoxDialoger() |
Dialog text box
|
TextBoxDialoger(String text) |
Dialog text box
|
TextBoxDialoger(String text,
boolean editable) |
Dialog text box
|
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(ActionEvent e) |
|
String |
getTextBox() |
|
void |
setTextBox(String text) |
public TextBoxDialoger()
public TextBoxDialoger(String text)
text
- - text to display in a boxpublic TextBoxDialoger(String text, boolean editable)
text
- - text to display in a boxeditable
- - allow to modify textpublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void setTextBox(String text)
public String getTextBox()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.