Interface FeatureTypePanel
- All Superinterfaces:
org.gvsig.tools.swing.api.ChangeListenerSupport,org.gvsig.tools.swing.api.Component
public interface FeatureTypePanel
extends org.gvsig.tools.swing.api.Component, org.gvsig.tools.swing.api.ChangeListenerSupport
- Author:
- jjdelcerro
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.dal.feature.EditableFeatureTypefetch(org.gvsig.fmap.dal.feature.EditableFeatureType type) intgetMode()booleanvoidput(org.gvsig.fmap.dal.feature.FeatureType type) voidsetDefaultProjection(org.gvsig.crs.projection.lib.Projection projection) voidsetMode(int mode) Sets the display mode of the panel.Methods inherited from interface org.gvsig.tools.swing.api.ChangeListenerSupport
addChangeListener, getChangeListeners, hasChangeListeners, removeAllChangeListener, removeChangeListenerMethods inherited from interface org.gvsig.tools.swing.api.Component
asJComponent
-
Field Details
-
CONFIGURABLE_PANEL_ID
- See Also:
-
MODE_EDIT_ONLY_METADATA
static final int MODE_EDIT_ONLY_METADATA- See Also:
-
MODE_EDIT_ALL
static final int MODE_EDIT_ALL- See Also:
-
MODE_SHOW_ONLY
static final int MODE_SHOW_ONLY- See Also:
-
MODE_VIRTUAL_FIELD
static final int MODE_VIRTUAL_FIELD- See Also:
-
-
Method Details
-
fetch
org.gvsig.fmap.dal.feature.EditableFeatureType fetch(org.gvsig.fmap.dal.feature.EditableFeatureType type) -
put
void put(org.gvsig.fmap.dal.feature.FeatureType type) -
setMode
void setMode(int mode) Sets the display mode of the panel. Can be:- MODE_EDIT_ONLY_METADATA, only allows you to modify the metadata. It can be used without being in store edition.
- MODE_EDIT_ALL, allows you to modify all values. The store must be in edition.
- MODE_SHOW_ONLY, only display the values.
- Parameters:
mode-
-
getMode
int getMode() -
isEditing
boolean isEditing() -
setDefaultProjection
void setDefaultProjection(org.gvsig.crs.projection.lib.Projection projection)
-