public class TextFieldWithHistoryAndBookmarkControllerImpl extends java.lang.Object implements TextFieldWithHistoryAndBookmarkController
| Modifier and Type | Class and Description |
|---|---|
static class |
TextFieldWithHistoryAndBookmarkControllerImpl.TextFieldWithHistoryAndBookmarkData |
| Constructor and Description |
|---|
TextFieldWithHistoryAndBookmarkControllerImpl(java.lang.String name,
javax.swing.text.JTextComponent text,
javax.swing.JButton btnApply,
javax.swing.JButton btnHistory,
javax.swing.JButton btnBookmarks) |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(java.awt.event.ActionListener listener) |
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
void |
addHistory(java.lang.String value) |
void |
fireActionEvent(java.awt.event.ActionEvent event) |
java.awt.event.ActionListener[] |
getActionListeners() |
javax.swing.event.ChangeListener[] |
getChangeListeners() |
java.lang.String |
getText() |
boolean |
hasActionListeners() |
boolean |
hasChangeListeners() |
boolean |
isEnabled() |
static void |
registerPersistence() |
void |
removeActionListener(java.awt.event.ActionListener listener) |
void |
removeAllActionListener() |
void |
removeAllChangeListener() |
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
void |
setEnabled(boolean enabled) |
public TextFieldWithHistoryAndBookmarkControllerImpl(java.lang.String name,
javax.swing.text.JTextComponent text,
javax.swing.JButton btnApply,
javax.swing.JButton btnHistory,
javax.swing.JButton btnBookmarks)
public java.lang.String getText()
getText in interface TextFieldWithHistoryAndBookmarkControllerpublic void addHistory(java.lang.String value)
addHistory in interface ComponentWithHistoryAndBookmarkControllerpublic void addActionListener(java.awt.event.ActionListener listener)
addActionListener in interface ActionListenerSupportpublic java.awt.event.ActionListener[] getActionListeners()
getActionListeners in interface ActionListenerSupportpublic void removeActionListener(java.awt.event.ActionListener listener)
removeActionListener in interface ActionListenerSupportpublic void removeAllActionListener()
removeAllActionListener in interface ActionListenerSupportpublic void fireActionEvent(java.awt.event.ActionEvent event)
fireActionEvent in interface ActionListenerSupportpublic boolean hasActionListeners()
hasActionListeners in interface ActionListenerSupportpublic void addChangeListener(javax.swing.event.ChangeListener listener)
addChangeListener in interface ChangeListenerSupportpublic javax.swing.event.ChangeListener[] getChangeListeners()
getChangeListeners in interface ChangeListenerSupportpublic void removeChangeListener(javax.swing.event.ChangeListener listener)
removeChangeListener in interface ChangeListenerSupportpublic void removeAllChangeListener()
removeAllChangeListener in interface ChangeListenerSupportpublic boolean hasChangeListeners()
hasChangeListeners in interface ChangeListenerSupportpublic void setEnabled(boolean enabled)
setEnabled in interface TextFieldWithHistoryAndBookmarkControllerpublic boolean isEnabled()
isEnabled in interface TextFieldWithHistoryAndBookmarkControllerpublic static void registerPersistence()