Class DefaultAggregateController<T>
java.lang.Object
org.gvsig.fmap.dal.swing.impl.featuretype.aggregatecontroller.DefaultAggregateController<T>
- Type Parameters:
T-
- All Implemented Interfaces:
AggregateController<T>
- Direct Known Subclasses:
AvailableValuesController
- Author:
- gvSIG Team
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.fmap.dal.swing.impl.featuretype.aggregatecontroller.AggregateController
AggregateController.AggregateItemController<T>, AggregateController.AggregateModel<T> -
Field Summary
Fields inherited from interface org.gvsig.fmap.dal.swing.impl.featuretype.aggregatecontroller.AggregateController
EMPTY_MODEL, MODE_EDIT_ALL, MODE_EDIT_PART, MODE_SHOW_ONLY -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAggregateController(JTable table, JButton btnFormFieldModify, JButton btnFormFieldDiscard, JButton btnFormFieldAccept, JButton btnNew, JButton btnDelete, AggregateController.AggregateItemController<T> itemController) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanbooleanvoidclean()voidvoidintgetModel()booleanbooleanvoidvoidnewItem()voidsetCanCreate(boolean canCreate) voidsetCanDelete(boolean canDelete) voidsetCanModify(boolean canModify) voidsetCurrentRow(int row) voidsetEnabled(boolean enabled) void
-
Constructor Details
-
DefaultAggregateController
-
-
Method Details
-
setModel
- Specified by:
setModelin interfaceAggregateController<T>
-
getModel
- Specified by:
getModelin interfaceAggregateController<T>
-
getItemController
- Specified by:
getItemControllerin interfaceAggregateController<T>
-
getCurrentRow
public int getCurrentRow()- Specified by:
getCurrentRowin interfaceAggregateController<T>
-
newItem
public void newItem()- Specified by:
newItemin interfaceAggregateController<T>
-
modifyCurrentItem
public void modifyCurrentItem()- Specified by:
modifyCurrentItemin interfaceAggregateController<T>
-
deleteCurrentItem
public void deleteCurrentItem()- Specified by:
deleteCurrentItemin interfaceAggregateController<T>
-
acceptModifications
public void acceptModifications()- Specified by:
acceptModificationsin interfaceAggregateController<T>
-
discardModificactions
public void discardModificactions()- Specified by:
discardModificactionsin interfaceAggregateController<T>
-
isEditing
public boolean isEditing()- Specified by:
isEditingin interfaceAggregateController<T>
-
setCurrentRow
public void setCurrentRow(int row) - Specified by:
setCurrentRowin interfaceAggregateController<T>
-
setCanCreate
public void setCanCreate(boolean canCreate) - Specified by:
setCanCreatein interfaceAggregateController<T>
-
setCanModify
public void setCanModify(boolean canModify) - Specified by:
setCanModifyin interfaceAggregateController<T>
-
setCanDelete
public void setCanDelete(boolean canDelete) - Specified by:
setCanDeletein interfaceAggregateController<T>
-
canCreate
public boolean canCreate()- Specified by:
canCreatein interfaceAggregateController<T>
-
canModify
public boolean canModify()- Specified by:
canModifyin interfaceAggregateController<T>
-
canDelete
public boolean canDelete()- Specified by:
canDeletein interfaceAggregateController<T>
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceAggregateController<T>
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceAggregateController<T>
-
clean
public void clean()- Specified by:
cleanin interfaceAggregateController<T>
-