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 JFeatureReferencesForm
public javax.swing.JComponent asJComponent()
Component
JComponent
.asJComponent
in interface Component
JComponent
public void bind(FeatureStore store, java.util.List<FeatureReference> references)
bind
in interface JFeatureReferencesForm
public void bind(FeatureStore store, DynClass definition, java.util.List<FeatureReference> references)
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable
public JDynFormSet getFormset()
getFormset
in interface JFeatureReferencesForm
public long getCurrentIndex()
getCurrentIndex
in interface JFeatureReferencesForm
public Feature get(long index)
get
in interface JFeatureReferencesForm
public void showForm(WindowManager.MODE mode)
showForm
in interface JFeatureReferencesForm
public void saveChanges()
saveChanges
in interface JFeatureReferencesForm
public long getDataSetSize()
getDataSetSize
in interface JFeatureReferencesForm
public FeatureStore getFeatureStore()
getFeatureStore
in interface JFeatureReferencesForm
public void addActionListener(java.awt.event.ActionListener listener)
addActionListener
in interface ActionListenerSupport
public java.awt.event.ActionListener[] getActionListeners()
getActionListeners
in interface ActionListenerSupport
public void removeActionListener(java.awt.event.ActionListener listener)
removeActionListener
in interface ActionListenerSupport
public void removeAllActionListener()
removeAllActionListener
in interface ActionListenerSupport
public void fireActionEvent(java.awt.event.ActionEvent event)
fireActionEvent
in interface ActionListenerSupport
public boolean hasActionListeners()
hasActionListeners
in interface ActionListenerSupport
public void setFeatures(java.util.List<FeatureReference> references)
setFeatures
in interface JFeatureReferencesForm
public Feature getCurrentFeature()
getCurrentFeature
in interface JFeatureReferencesForm