public class LinkedChartLegend extends PieChartLegend implements ILinkedChartLegend
Modifier and Type | Class and Description |
---|---|
static class |
LinkedChartLegend.RegisterLegend |
static class |
LinkedChartLegend.RegisterPersistence |
Modifier and Type | Field and Description |
---|---|
protected Map<String,List> |
indexHash |
static String |
LINKED_CHART_LEGEND_PERSISTENCE_DEFINITION_NAME |
backgroundSymbol, colors, featSelection, fieldNormalize, fields, fieldSize, is3D, isActiveLimits, isOutlineShow, labels, maxFeature, minFeature, onlySelection, outlineColor, outlineWidth, PIE_CHART_LEGEND_PERSISTENCE_DEFINITION_NAME, referenceSystem, size, sizeFrom, sizeOption, sizeTo, symbol, unit, zSort
VECTORIAL_UNIQUE_VALUE_LEGEND_PERSISTENCE_DEFINITION_NAME
CLASSIFIED_VECTOR_LEGEND_PERSISTENCE_DEFINITION_NAME
VECTORIAL_LEGEND_PERSISTENCE_DEFINITION_NAME
LEGEND_PERSISTENCE_DEFINITION_NAME
BARSCHART_LEGEND_NAME, LINKED_LEGEND_NAME, PIECHART_LEGEND_NAME
LEGEND_NAME
Constructor and Description |
---|
LinkedChartLegend() |
Modifier and Type | Method and Description |
---|---|
void |
draw(BufferedImage image,
Graphics2D g,
ViewPort viewPort,
Cancellable cancel,
double scale,
Map queryParameters,
ICoordTrans coordTrans,
FeatureStore featureStore,
FeatureQuery featureQuery)
Draws the
FeatureStore data using this legend simbology. |
String[] |
getClassifyingFieldNames()
Returns the name of the field
|
String |
getGroupedField() |
String |
getLegendType() |
String[] |
getLinkedClassifyingFieldNames()
Devuelve un array con los campos seleccionados a pintar de la capa enlazada
|
Map<String,List> |
getLinkedData() |
String |
getLinkedField() |
String[] |
getLinkedFields() |
Set<String> |
getLinkedFieldValues() |
boolean |
getLinkedSelected() |
String |
getLinkedTable() |
String[] |
getOriginFieldName() |
boolean |
getOriginSelected() |
ISymbol |
getSymbolByFeature(Feature feat)
Devuelve un símbolo a partir de una IFeature.
|
String |
getTimeField() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setDataHash(Map<String,List> hash) |
void |
setGroupedField(String string) |
void |
setLegendType(String field) |
void |
setLinkedField(String field) |
void |
setLinkedFieldName(String[] fieldName) |
void |
setLinkedFields(String[] fields) |
void |
setLinkedFieldValues(List<String> values) |
void |
setLinkedSelected(boolean selected) |
void |
setLinkedTable(String selectedItem) |
void |
setOriginSelected(boolean selected) |
void |
setTimeField(String field) |
getBackgroundSymbol, getColors, getFieldLabels, getFieldNames, getFieldNormalize, getFieldSize, getOutlineColor, getOutlineWidth, getReferenceSystem, getSize, getSizeFrom, getSizeOption, getSizeTo, getUnit, is3D, isActiveLimits, isOnlySelection, isOutlineShow, setActiveLimits, setBackgroundSymbol, setColors, setFieldNormalize, setFields, setFieldSize, setIs3D, setLabels, setMaxFeature, setMinFeature, setOnlySelection, setOutlineColor, setOutlineShow, setOutlineWidth, setReferenceSystem, setSize, setSizeFrom, setSizeOption, setSizeTo, setUnit
addSymbol, clear, clone, delSymbol, getClassName, getColorScheme, getDefaultSymbol, getDescriptions, getShapeType, getSymbolByValue, getSymbolKey, getSymbols, getValues, isUseDefaultSymbol, replace, setClassifyingFieldNames, setColorScheme, setDefaultSymbol, setShapeType, setValueSymbolByID, useDefaultSymbol
fireClassifiedSymbolChangeEvent, fireLegendClearEvent, getClassifyingFieldTypes, getRequiredFeatureAttributeNames, isSuitableForShapeType, setClassifyingFieldTypes
draw, draw, getZSort, internalDraw, print, print, setZSort
addDrawingObserver, addLegendListener, addObserver, beginComplexNotification, cloneLegend, countObservers, deleteDrawingObserver, deleteDrawingObservers, deleteObserver, disableNotifications, enableNotifications, endComplexNotification, fireDefaultSymbolChangedEvent, getListeners, getManager, getSymbolManager, inComplex, isEnabledNotifications, notifyObservers, notifyObservers, removeLegendListener
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackgroundSymbol, getColors, getFieldLabels, getFieldNormalize, getFieldSize, getOutlineColor, getOutlineWidth, getReferenceSystem, getSize, getSizeFrom, getSizeOption, getSizeTo, getUnit, is3D, isActiveLimits, isOnlySelection, isOutlineShow, setActiveLimits, setBackgroundSymbol, setColors, setFieldNormalize, setFields, setFieldSize, setIs3D, setLabels, setMaxFeature, setMinFeature, setOnlySelection, setOutlineColor, setOutlineShow, setOutlineWidth, setReferenceSystem, setSize, setSizeFrom, setSizeOption, setSizeTo, setUnit
getColorScheme, getSymbolByValue, getSymbolKey, getZSort, setColorScheme, setValueSymbolByID, setZSort
addSymbol, clear, delSymbol, getClassifyingFieldTypes, replace, setClassifyingFieldNames, setClassifyingFieldTypes
getDescriptions, getSymbols, getValues
draw, getShapeType, isSuitableForShapeType, isUseDefaultSymbol, print, print, setDefaultSymbol, setShapeType, useDefaultSymbol
addLegendListener, cloneLegend, fireDefaultSymbolChangedEvent, getDefaultSymbol, getListeners, removeLegendListener
addDrawingObserver, deleteDrawingObserver, deleteDrawingObservers
public static final String LINKED_CHART_LEGEND_PERSISTENCE_DEFINITION_NAME
public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, Cancellable cancel, double scale, Map queryParameters, ICoordTrans coordTrans, FeatureStore featureStore, FeatureQuery featureQuery) throws LegendException
IVectorLegend
FeatureStore
data using this legend simbology.draw
in interface IVectorLegend
draw
in class PieChartLegend
image
- the base image to draw overg
- the Graphics2D
to draw toviewPort
- the ViewPort to usecancel
- the Cancellable
delegate objectscale
- the scale of the viewqueryParameters
- the query parameterscoordTrans
- the transformation coordinates to use for reprojectionfeatureStore
- FeatureStore
to load the data to draw fromfeatureQuery
- the query used to filter the features.LegendException
public String[] getLinkedClassifyingFieldNames()
public String[] getClassifyingFieldNames()
IClassifiedVectorLegend
getClassifyingFieldNames
in interface IClassifiedVectorLegend
getClassifyingFieldNames
in class AbstractClassifiedVectorLegend
public void setLinkedFieldName(String[] fieldName)
setLinkedFieldName
in interface ILinkedChartLegend
public void setDataHash(Map<String,List> hash)
setDataHash
in interface ILinkedChartLegend
public Set<String> getLinkedFieldValues()
getLinkedFieldValues
in interface ILinkedChartLegend
public Map<String,List> getLinkedData()
getLinkedData
in interface ILinkedChartLegend
public ISymbol getSymbolByFeature(Feature feat) throws MapContextException
VectorialUniqueValueLegend
getSymbolByFeature
in interface IVectorLegend
getSymbolByFeature
in class PieChartLegend
feat
- IFeatureMapContextException
public String getLinkedField()
getLinkedField
in interface ILinkedChartLegend
public void setLinkedField(String field)
setLinkedField
in interface ILinkedChartLegend
public String getTimeField()
getTimeField
in interface ILinkedChartLegend
public void setTimeField(String field)
setTimeField
in interface ILinkedChartLegend
public String getLegendType()
getLegendType
in interface ILinkedChartLegend
public void setLegendType(String field)
setLegendType
in interface ILinkedChartLegend
public void setGroupedField(String string)
setGroupedField
in interface ILinkedChartLegend
public String getGroupedField()
getGroupedField
in interface ILinkedChartLegend
public String getLinkedTable()
getLinkedTable
in interface ILinkedChartLegend
public boolean getLinkedSelected()
getLinkedSelected
in interface ILinkedChartLegend
public String[] getOriginFieldName()
getOriginFieldName
in interface ILinkedChartLegend
public boolean getOriginSelected()
getOriginSelected
in interface ILinkedChartLegend
public void setLinkedTable(String selectedItem)
setLinkedTable
in interface ILinkedChartLegend
public void setOriginSelected(boolean selected)
setOriginSelected
in interface ILinkedChartLegend
public void setLinkedSelected(boolean selected)
setLinkedSelected
in interface ILinkedChartLegend
public void setLinkedFields(String[] fields)
setLinkedFields
in interface ILinkedChartLegend
public String[] getLinkedFields()
getLinkedFields
in interface ILinkedChartLegend
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class PieChartLegend
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class PieChartLegend
PersistenceException