public class BasePropertiesPanelHelper extends java.lang.Object implements BasePropertiesPanel
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JComponent |
accept |
protected boolean |
canceled |
protected javax.swing.JComponent |
component |
protected ActionListenerSupport |
listeners |
ACTION_ACCEPT, ACTION_CANCEL, ACTION_CLOSE| Constructor and Description |
|---|
BasePropertiesPanelHelper(javax.swing.JComponent component,
javax.swing.JComponent accept) |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(java.awt.event.ActionListener listener) |
javax.swing.JComponent |
asJComponent()
Returns this component as a swing
JComponent. |
void |
clear() |
void |
closeWindow() |
void |
fireAcceptEvent() |
void |
fireActionEvent(java.awt.event.ActionEvent actionEvent) |
void |
fireCancelEvent() |
void |
fireCloseEvent() |
boolean |
getVisibleAceptCancel() |
boolean |
isCanceled() |
void |
removeActionListener(java.awt.event.ActionListener listener) |
void |
removeAllActionListener() |
void |
setCanceled(boolean canceled) |
void |
setVisibleAceptCancel(boolean visible) |
void |
showWindow(java.lang.String title,
WindowManager.MODE mode) |
protected final javax.swing.JComponent component
protected final javax.swing.JComponent accept
protected boolean canceled
protected ActionListenerSupport listeners
public BasePropertiesPanelHelper(javax.swing.JComponent component,
javax.swing.JComponent accept)
public void closeWindow()
closeWindow in interface BasePropertiesPanelpublic void showWindow(java.lang.String title,
WindowManager.MODE mode)
showWindow in interface BasePropertiesPanelpublic boolean isCanceled()
isCanceled in interface BasePropertiesPanelpublic void addActionListener(java.awt.event.ActionListener listener)
addActionListener in interface BasePropertiesPanelpublic void removeActionListener(java.awt.event.ActionListener listener)
removeActionListener in interface BasePropertiesPanelpublic void removeAllActionListener()
removeAllActionListener in interface BasePropertiesPanelpublic void fireActionEvent(java.awt.event.ActionEvent actionEvent)
public void fireAcceptEvent()
public void fireCancelEvent()
public void fireCloseEvent()
public void setVisibleAceptCancel(boolean visible)
setVisibleAceptCancel in interface BasePropertiesPanelpublic boolean getVisibleAceptCancel()
getVisibleAceptCancel in interface BasePropertiesPanelpublic void clear()
clear in interface BasePropertiesPanelpublic javax.swing.JComponent asJComponent()
ComponentJComponent.asJComponent in interface ComponentJComponentpublic void setCanceled(boolean canceled)