public class DefaultJFeaturesForm extends java.lang.Object implements JFeaturesForm, Disposable
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultJFeaturesForm.MyFeaturesFormContext |
ACTION_CONTEXT_NAME, FINISHEDITING_ACTION, REFRESHFORM_ACTION, STARTEDITING_ACTION| Constructor and Description |
|---|
DefaultJFeaturesForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(javax.swing.Action action) |
void |
addActionListener(java.awt.event.ActionListener listener) |
javax.swing.JComponent |
asJComponent()
Returns this component as a swing
JComponent. |
void |
bind(FeatureStore store) |
void |
bind(FeatureStore store,
DynClass definition) |
void |
bind(FeatureStore store,
DynClass definition,
FeatureQuery query) |
protected void |
callUserEvent(java.lang.String name,
java.lang.Object... args) |
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
void |
fireActionEvent(java.awt.event.ActionEvent event) |
Feature |
get(long index) |
java.awt.event.ActionListener[] |
getActionListeners() |
Feature |
getCurrentFeature() |
long |
getCurrentIndex() |
long |
getDataSetSize() |
FeatureStore |
getFeatureStore() |
FeatureType |
getFeatureType() |
JDynFormSet |
getFormset() |
boolean |
hasActionListeners() |
void |
hideForm() |
boolean |
isTerminateEditingOnClose() |
void |
removeActionListener(java.awt.event.ActionListener listener) |
void |
removeAllActionListener() |
void |
saveChanges() |
static void |
selfRegister() |
void |
setPreferredSize(java.awt.Dimension dimension) |
void |
setQuery(FeatureQuery query) |
void |
setTerminateEditingOnClose(boolean b) |
void |
showForm(java.lang.String title,
WindowManager.MODE mode) |
void |
showForm(WindowManager.MODE mode) |
public static void selfRegister()
public void setPreferredSize(java.awt.Dimension dimension)
setPreferredSize in interface JFeaturesFormpublic javax.swing.JComponent asJComponent()
ComponentJComponent.asJComponent in interface ComponentJComponentpublic void bind(FeatureStore store)
bind in interface JFeaturesFormpublic void bind(FeatureStore store, DynClass definition)
public void bind(FeatureStore store, DynClass definition, FeatureQuery query)
public void dispose()
DisposableNOTE:After calling this method, the object may not be usable anymore.
dispose in interface Disposablepublic JDynFormSet getFormset()
getFormset in interface JFeaturesFormpublic void addAction(javax.swing.Action action)
addAction in interface JFeaturesFormpublic long getCurrentIndex()
getCurrentIndex in interface JFeaturesFormpublic Feature get(long index)
get in interface JFeaturesFormpublic void setQuery(FeatureQuery query)
setQuery in interface JFeaturesFormpublic void showForm(WindowManager.MODE mode)
showForm in interface JFeaturesFormpublic void showForm(java.lang.String title,
WindowManager.MODE mode)
showForm in interface JFeaturesFormpublic void hideForm()
hideForm in interface JFeaturesFormpublic void saveChanges()
saveChanges in interface JFeaturesFormpublic long getDataSetSize()
getDataSetSize in interface JFeaturesFormpublic FeatureStore getFeatureStore()
getFeatureStore in interface JFeaturesFormpublic FeatureType getFeatureType()
public 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 Feature getCurrentFeature()
getCurrentFeature in interface JFeaturesFormprotected void callUserEvent(java.lang.String name,
java.lang.Object... args)
public void setTerminateEditingOnClose(boolean b)
setTerminateEditingOnClose in interface JFeaturesFormpublic boolean isTerminateEditingOnClose()
isTerminateEditingOnClose in interface JFeaturesForm