com.partnersoft.maps.translator
Class MapDataDerivation

java.lang.Object
  extended by com.partnersoft.maps.translator.MapDataDerivation
All Implemented Interfaces:
Coggable

public class MapDataDerivation
extends java.lang.Object
implements Coggable

The increasingly complicated configuration for labelling.

Author:
Paul Reavis Copyright 2002-2003 Partner Software, Inc.

Field Summary
 float adjustmentX
           
 float adjustmentY
           
 boolean autoRotatePosition
           
 boolean autoRotateText
           
 boolean convertToPoint
           
 boolean includeData
           
 boolean keepUpright
           
 java.lang.String labelGraphicType
           
 float minimumLength
           
 int offsetX
           
 java.lang.String offsetXField
           
 int offsetY
           
 java.lang.String offsetYField
           
 float rotation
           
 java.lang.String rotationField
           
 boolean scatter
           
 int scatterGridColumns
           
 float scatterGridSize
           
 float scatterOffsetX
           
 float scatterOffsetY
           
static int SECTION_CENTER
           
static int SECTION_CENTROID
           
static int SECTION_END
           
static int SECTION_START
           
 float sectionLength
           
 java.lang.String sectionPlacement
           
 int sectionPlacementCode
           
 NameSet sourceGraphicTypes
           
 java.lang.String textField
           
 java.lang.String textFormat
           
 java.lang.String textJustification
           
 Namer textNamer
           
 java.lang.String xField
           
 java.lang.String yField
           
 
Constructor Summary
MapDataDerivation()
           
MapDataDerivation(Cog newState)
           
 
Method Summary
 float getAdjustmentX()
          Gets the value of adjustmentX
 float getAdjustmentY()
          Gets the value of adjustmentY
 boolean getConvertToPoint()
           
 boolean getIncludeData()
           
 boolean getKeepUpright()
           
 java.lang.String getLabelGraphicType()
           
 float getMinimumLength()
          Gets the value of minimumLength
 int getOffsetX()
          Gets the value of offsetX
 java.lang.String getOffsetXField()
          Gets the value of offsetXField
 int getOffsetY()
          Gets the value of offsetY
 java.lang.String getOffsetYField()
          Gets the value of offsetYField
 float getRotation()
          Gets the value of rotation
 java.lang.String getRotationField()
          Gets the value of rotationField
 int getScatterGridColumns()
          Gets the value of scatterGridColumns
 float getScatterGridSize()
          Gets the value of scatterGridSize
 float getScatterOffsetX()
          Gets the value of scatterOffsetX
 float getScatterOffsetY()
          Gets the value of scatterOffsetY
 float getSectionLength()
          Gets the value of sectionLength
 java.lang.String getSectionPlacement()
          Gets the value of sectionPlacement
 java.util.Set getSourceGraphicTypes()
          Gets the value of graphicTypes
 java.lang.String getTextField()
          Gets the value of field
 java.lang.String getTextFormat()
          Gets the value of textFormat
 java.lang.String getTextJustification()
          Gets the value of textJustification
 java.lang.String getXField()
          Gets the value of xField
 java.lang.String getYField()
          Gets the value of yField
 boolean isAutoRotatePosition()
          Gets the value of autoRotatePosition
 boolean isAutoRotateText()
          Gets the value of autoRotateText
 boolean isScatter()
          Gets the value of scatter
 void setAdjustmentX(float argAdjustmentX)
          Sets the value of adjustmentX
 void setAdjustmentY(float argAdjustmentY)
          Sets the value of adjustmentY
 void setAutoRotatePosition(boolean argAutoRotatePosition)
          Sets the value of autoRotatePosition
 void setAutoRotateText(boolean argAutoRotateText)
          Sets the value of autoRotateText
 void setConvertToPoint(boolean tizit)
           
 void setIncludeData(boolean tizit)
           
 void setKeepUpright(boolean tizit)
           
 void setLabelGraphicType(java.lang.String argGraphicTypeName)
          Sets the value of graphicTypeName
 void setMinimumLength(float argMinimumLength)
          Sets the value of minimumLength
 void setOffsetX(int argOffsetX)
          Sets the value of offsetX
 void setOffsetXField(java.lang.String argOffsetXField)
          Sets the value of offsetXField
 void setOffsetY(int argOffsetY)
          Sets the value of offsetY
 void setOffsetYField(java.lang.String argOffsetYField)
          Sets the value of offsetYField
 void setRotation(float argRotation)
          Sets the value of rotation
 void setRotationField(java.lang.String argRotationField)
          Sets the value of rotationField
 void setScatter(boolean argScatter)
          Sets the value of scatter
 void setScatterGridColumns(int argScatterGridColumns)
          Sets the value of scatterGridColumns
 void setScatterGridSize(float argScatterGridSize)
          Sets the value of scatterGridSize
 void setScatterOffsetX(float argScatterOffsetX)
          Sets the value of scatterOffsetX
 void setScatterOffsetY(float argScatterOffsetY)
          Sets the value of scatterOffsetY
 void setSectionLength(float argSectionLength)
          Sets the value of sectionLength
 void setSectionPlacement(java.lang.String newPlacement)
          Sets the value of sectionPlacement
 void setSourceGraphicTypes(java.util.Set argGraphicTypes)
          Sets the value of graphicTypes
 void setTextField(java.lang.String argField)
          Sets the value of field
 void setTextFormat(java.lang.String argTextFormat)
          Sets the value of textFormat
 void setTextJustification(java.lang.String argTextJustification)
          Sets the value of textJustification
 void setXField(java.lang.String argXField)
          Sets the value of xField
 void setYField(java.lang.String argYField)
          Sets the value of yField
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SECTION_START

public static final int SECTION_START
See Also:
Constant Field Values

SECTION_CENTER

public static final int SECTION_CENTER
See Also:
Constant Field Values

SECTION_END

public static final int SECTION_END
See Also:
Constant Field Values

SECTION_CENTROID

public static final int SECTION_CENTROID
See Also:
Constant Field Values

sourceGraphicTypes

public NameSet sourceGraphicTypes

textField

public java.lang.String textField

labelGraphicType

public java.lang.String labelGraphicType

textJustification

public java.lang.String textJustification

offsetX

public int offsetX

offsetY

public int offsetY

rotation

public float rotation

adjustmentX

public float adjustmentX

adjustmentY

public float adjustmentY

xField

public java.lang.String xField

yField

public java.lang.String yField

offsetXField

public java.lang.String offsetXField

offsetYField

public java.lang.String offsetYField

rotationField

public java.lang.String rotationField

keepUpright

public boolean keepUpright

autoRotateText

public boolean autoRotateText

autoRotatePosition

public boolean autoRotatePosition

convertToPoint

public boolean convertToPoint

includeData

public boolean includeData

minimumLength

public float minimumLength

sectionLength

public float sectionLength

sectionPlacement

public java.lang.String sectionPlacement

textFormat

public java.lang.String textFormat

scatter

public boolean scatter

scatterOffsetX

public float scatterOffsetX

scatterOffsetY

public float scatterOffsetY

scatterGridColumns

public int scatterGridColumns

scatterGridSize

public float scatterGridSize

sectionPlacementCode

public transient int sectionPlacementCode

textNamer

public transient Namer textNamer
Constructor Detail

MapDataDerivation

public MapDataDerivation()

MapDataDerivation

public MapDataDerivation(Cog newState)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Returns:
Cog representing the internal state of this object

getKeepUpright

public boolean getKeepUpright()

setKeepUpright

public void setKeepUpright(boolean tizit)

getConvertToPoint

public boolean getConvertToPoint()

setConvertToPoint

public void setConvertToPoint(boolean tizit)

getIncludeData

public boolean getIncludeData()

setIncludeData

public void setIncludeData(boolean tizit)

isAutoRotateText

public boolean isAutoRotateText()
Gets the value of autoRotateText

Returns:
the value of autoRotateText

setAutoRotateText

public void setAutoRotateText(boolean argAutoRotateText)
Sets the value of autoRotateText

Parameters:
argAutoRotateText - Value to assign to this.autoRotateText

isAutoRotatePosition

public boolean isAutoRotatePosition()
Gets the value of autoRotatePosition

Returns:
the value of autoRotatePosition

setAutoRotatePosition

public void setAutoRotatePosition(boolean argAutoRotatePosition)
Sets the value of autoRotatePosition

Parameters:
argAutoRotatePosition - Value to assign to this.autoRotatePosition

getTextJustification

public java.lang.String getTextJustification()
Gets the value of textJustification

Returns:
the value of textJustification

setTextJustification

public void setTextJustification(java.lang.String argTextJustification)
Sets the value of textJustification

Parameters:
argTextJustification - Value to assign to this.textJustification

getTextFormat

public java.lang.String getTextFormat()
Gets the value of textFormat

Returns:
the value of textFormat

setTextFormat

public void setTextFormat(java.lang.String argTextFormat)
Sets the value of textFormat

Parameters:
argTextFormat - Value to assign to this.textFormat

getSectionPlacement

public java.lang.String getSectionPlacement()
Gets the value of sectionPlacement

Returns:
the value of sectionPlacement

setSectionPlacement

public void setSectionPlacement(java.lang.String newPlacement)
Sets the value of sectionPlacement


getSourceGraphicTypes

public java.util.Set getSourceGraphicTypes()
Gets the value of graphicTypes

Returns:
the value of graphicTypes

setSourceGraphicTypes

public void setSourceGraphicTypes(java.util.Set argGraphicTypes)
Sets the value of graphicTypes


getTextField

public java.lang.String getTextField()
Gets the value of field

Returns:
the value of field

setTextField

public void setTextField(java.lang.String argField)
Sets the value of field

Parameters:
argField - Value to assign to this.field

getLabelGraphicType

public java.lang.String getLabelGraphicType()

setLabelGraphicType

public void setLabelGraphicType(java.lang.String argGraphicTypeName)
Sets the value of graphicTypeName

Parameters:
argGraphicTypeName - Value to assign to this.graphicTypeName

getOffsetX

public int getOffsetX()
Gets the value of offsetX

Returns:
the value of offsetX

setOffsetX

public void setOffsetX(int argOffsetX)
Sets the value of offsetX

Parameters:
argOffsetX - Value to assign to this.offsetX

getOffsetY

public int getOffsetY()
Gets the value of offsetY

Returns:
the value of offsetY

setOffsetY

public void setOffsetY(int argOffsetY)
Sets the value of offsetY

Parameters:
argOffsetY - Value to assign to this.offsetY

getRotation

public float getRotation()
Gets the value of rotation

Returns:
the value of rotation

setRotation

public void setRotation(float argRotation)
Sets the value of rotation

Parameters:
argRotation - Value to assign to this.rotation

getMinimumLength

public float getMinimumLength()
Gets the value of minimumLength

Returns:
the value of minimumLength

setMinimumLength

public void setMinimumLength(float argMinimumLength)
Sets the value of minimumLength

Parameters:
argMinimumLength - Value to assign to this.minimumLength

getSectionLength

public float getSectionLength()
Gets the value of sectionLength

Returns:
the value of sectionLength

setSectionLength

public void setSectionLength(float argSectionLength)
Sets the value of sectionLength

Parameters:
argSectionLength - Value to assign to this.sectionLength

getXField

public java.lang.String getXField()
Gets the value of xField

Returns:
the value of xField

setXField

public void setXField(java.lang.String argXField)
Sets the value of xField

Parameters:
argXField - Value to assign to this.xField

getYField

public java.lang.String getYField()
Gets the value of yField

Returns:
the value of yField

setYField

public void setYField(java.lang.String argYField)
Sets the value of yField

Parameters:
argYField - Value to assign to this.yField

getOffsetXField

public java.lang.String getOffsetXField()
Gets the value of offsetXField

Returns:
the value of offsetXField

setOffsetXField

public void setOffsetXField(java.lang.String argOffsetXField)
Sets the value of offsetXField

Parameters:
argOffsetXField - Value to assign to this.offsetXField

getOffsetYField

public java.lang.String getOffsetYField()
Gets the value of offsetYField

Returns:
the value of offsetYField

setOffsetYField

public void setOffsetYField(java.lang.String argOffsetYField)
Sets the value of offsetYField

Parameters:
argOffsetYField - Value to assign to this.offsetYField

getRotationField

public java.lang.String getRotationField()
Gets the value of rotationField

Returns:
the value of rotationField

setRotationField

public void setRotationField(java.lang.String argRotationField)
Sets the value of rotationField

Parameters:
argRotationField - Value to assign to this.rotationField

getAdjustmentX

public float getAdjustmentX()
Gets the value of adjustmentX

Returns:
the value of adjustmentX

setAdjustmentX

public void setAdjustmentX(float argAdjustmentX)
Sets the value of adjustmentX

Parameters:
argAdjustmentX - Value to assign to this.adjustmentX

getAdjustmentY

public float getAdjustmentY()
Gets the value of adjustmentY

Returns:
the value of adjustmentY

setAdjustmentY

public void setAdjustmentY(float argAdjustmentY)
Sets the value of adjustmentY

Parameters:
argAdjustmentY - Value to assign to this.adjustmentY

isScatter

public boolean isScatter()
Gets the value of scatter

Returns:
the value of scatter

setScatter

public void setScatter(boolean argScatter)
Sets the value of scatter

Parameters:
argScatter - Value to assign to this.scatter

getScatterOffsetX

public float getScatterOffsetX()
Gets the value of scatterOffsetX

Returns:
the value of scatterOffsetX

setScatterOffsetX

public void setScatterOffsetX(float argScatterOffsetX)
Sets the value of scatterOffsetX

Parameters:
argScatterOffsetX - Value to assign to this.scatterOffsetX

getScatterOffsetY

public float getScatterOffsetY()
Gets the value of scatterOffsetY

Returns:
the value of scatterOffsetY

setScatterOffsetY

public void setScatterOffsetY(float argScatterOffsetY)
Sets the value of scatterOffsetY

Parameters:
argScatterOffsetY - Value to assign to this.scatterOffsetY

getScatterGridColumns

public int getScatterGridColumns()
Gets the value of scatterGridColumns

Returns:
the value of scatterGridColumns

setScatterGridColumns

public void setScatterGridColumns(int argScatterGridColumns)
Sets the value of scatterGridColumns

Parameters:
argScatterGridColumns - Value to assign to this.scatterGridColumns

getScatterGridSize

public float getScatterGridSize()
Gets the value of scatterGridSize

Returns:
the value of scatterGridSize

setScatterGridSize

public void setScatterGridSize(float argScatterGridSize)
Sets the value of scatterGridSize

Parameters:
argScatterGridSize - Value to assign to this.scatterGridSize