public class DefaultJFeatureReferencesForm extends java.lang.Object implements Disposable, JFeatureReferencesForm
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultJFeatureReferencesForm.DynObjectsList |
static class |
DefaultJFeatureReferencesForm.FeaturesList |
ACTION_CONTEXT_NAME| Constructor and Description |
|---|
DefaultJFeatureReferencesForm() |
| 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 |
bind(FeatureStore store,
DynClass definition,
java.util.List<FeatureReference> references) |
void |
bind(FeatureStore store,
java.util.List<FeatureReference> references) |
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() |
JDynFormSet |
getFormset() |
boolean |
hasActionListeners() |
void |
removeActionListener(java.awt.event.ActionListener listener) |
void |
removeAllActionListener() |
void |
saveChanges() |
void |
setFeatures(java.util.List<FeatureReference> references) |
void |
setPreferredSize(java.awt.Dimension dimension) |
void |
showForm(WindowManager.MODE mode) |
public void setPreferredSize(java.awt.Dimension dimension)
setPreferredSize in interface JFeatureReferencesFormpublic javax.swing.JComponent asJComponent()
ComponentJComponent.asJComponent in interface ComponentJComponentpublic void bind(FeatureStore store, java.util.List<FeatureReference> references)
bind in interface JFeatureReferencesFormpublic void bind(FeatureStore store, DynClass definition, java.util.List<FeatureReference> references)
public void dispose()
DisposableNOTE:After calling this method, the object may not be usable anymore.
dispose in interface Disposablepublic JDynFormSet getFormset()
getFormset in interface JFeatureReferencesFormpublic long getCurrentIndex()
getCurrentIndex in interface JFeatureReferencesFormpublic Feature get(long index)
get in interface JFeatureReferencesFormpublic void showForm(WindowManager.MODE mode)
showForm in interface JFeatureReferencesFormpublic void saveChanges()
saveChanges in interface JFeatureReferencesFormpublic long getDataSetSize()
getDataSetSize in interface JFeatureReferencesFormpublic FeatureStore getFeatureStore()
getFeatureStore in interface JFeatureReferencesFormpublic 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 setFeatures(java.util.List<FeatureReference> references)
setFeatures in interface JFeatureReferencesFormpublic Feature getCurrentFeature()
getCurrentFeature in interface JFeatureReferencesForm