public interface AttributeTableRuleSet
| Modifier and Type | Method and Description |
|---|---|
Object |
afterEdit(FeatureServiceFeature feature,
String column,
int row,
Object oldValue,
Object newValue)
This method will be invoked, after a cell was edited.
|
void |
afterSave(TableModel model)
DOCUMENT ME!
|
void |
beforeSave(FeatureServiceFeature feature)
Will be invoked before a the given feature will be saved.
|
FeatureServiceFeature |
cloneFeature(FeatureServiceFeature feature)
Clones the given feature.
|
void |
copyProperties(FeatureServiceFeature sourceFeature,
FeatureServiceFeature targetFeature)
Copies the feature properties from the source feature to the target feature.
|
void |
exportFeatures()
start the feature export.
|
Class |
getAdditionalFieldClass(int index)
DOCUMENT ME!
|
String |
getAdditionalFieldFormula(String propertyName)
Determines the formula of the additional field with the given name.
|
String[] |
getAdditionalFieldNames()
The names of the additional fields.
|
Object |
getAdditionalFieldValue(String propertyName,
FeatureServiceFeature feature)
Determines the value of the additional field with the given index for the given feature.
|
TableCellEditor |
getCellEditor(String columnName)
DOCUMENT ME!
|
TableCellRenderer |
getCellRenderer(String columnName)
DOCUMENT ME!
|
Map<String,Object> |
getDefaultValues()
Get all attribute values, which should be set, when a new object is created.
|
Class<? extends FeatureServiceFeature> |
getFeatureClass()
This method can be used to use custom feature classes with a different styling.
|
FeatureCreator |
getFeatureCreator()
Provides a creator to create new objects of the represented service.
|
int |
getIndexOfAdditionalFieldName(String name)
The index of the attribute in the attribute list of the service.
|
FeatureAnnotationSymbol |
getPointAnnotationSymbol(FeatureServiceFeature feature)
Get the point annotation symbol, that should be used, when no style is defined.
|
boolean |
hasCustomExportFeaturesMethod()
True, if the service has its own export tool.
|
boolean |
hasCustomPrintFeaturesMethod()
True, if the service has its own print tool.
|
boolean |
isCatThree()
todo: change method name
|
boolean |
isColumnEditable(String columnName)
DOCUMENT ME!
|
void |
mouseClicked(FeatureServiceFeature feature,
String columnName,
Object value,
int clickCount)
DOCUMENT ME!
|
FeatureServiceFeature[] |
prepareFeaturesForExport(FeatureServiceFeature[] features)
DOCUMENT ME!
|
boolean |
prepareForSave(List<FeatureServiceFeature> features)
Will be invoked before the service will be saved.
|
void |
printFeatures()
start the feature print.
|
Object afterEdit(FeatureServiceFeature feature, String column, int row, Object oldValue, Object newValue)
feature - the modified featurecolumn - the modified attribute namerow - the row of the feature in the modeloldValue - the old attribute valuenewValue - the new atribute valuevoid afterSave(TableModel model)
model - DOCUMENT ME!void beforeSave(FeatureServiceFeature feature)
feature - DOCUMENT ME!Class getAdditionalFieldClass(int index)
index - the index of the additional fieldString[] getAdditionalFieldNames()
int getIndexOfAdditionalFieldName(String name)
name - The name of the attribute. See getAdditionalFieldNames()Object getAdditionalFieldValue(String propertyName, FeatureServiceFeature feature)
propertyName - the index of the additional fieldfeature - the feature, the value should be calculated forString getAdditionalFieldFormula(String propertyName)
propertyName - the name of the additional fieldTableCellEditor getCellEditor(String columnName)
columnName - DOCUMENT ME!TableCellRenderer getCellRenderer(String columnName)
columnName - DOCUMENT ME!FeatureCreator getFeatureCreator()
boolean isColumnEditable(String columnName)
columnName - DOCUMENT ME!boolean prepareForSave(List<FeatureServiceFeature> features)
features - the modified featuresvoid mouseClicked(FeatureServiceFeature feature, String columnName, Object value, int clickCount)
feature - DOCUMENT ME!columnName - DOCUMENT ME!value - DOCUMENT ME!clickCount - DOCUMENT ME!boolean isCatThree()
Map<String,Object> getDefaultValues()
FeatureServiceFeature cloneFeature(FeatureServiceFeature feature)
feature - the feature to cloneFeatureAnnotationSymbol getPointAnnotationSymbol(FeatureServiceFeature feature)
feature - the feature, that should use the point annotation symbolboolean hasCustomExportFeaturesMethod()
void exportFeatures()
boolean hasCustomPrintFeaturesMethod()
void printFeatures()
void copyProperties(FeatureServiceFeature sourceFeature, FeatureServiceFeature targetFeature)
sourceFeature - the feature with the source valuestargetFeature - the values from the source feature will be copied in this featureClass<? extends FeatureServiceFeature> getFeatureClass()
FeatureServiceFeature[] prepareFeaturesForExport(FeatureServiceFeature[] features)
features - DOCUMENT ME!Copyright © 2012–2025 cismet GmbH. All rights reserved.