|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.model.RoverSet
public abstract class RoverSet
A RoverSet is the published data from one or more MapSets. It is in compact, renderable form, using IDs instead of strings for graphic types and datatypes. Implementators should generally start with AbstractRoverSet. Implementations include TiledRoverSet, DiskRoverSet, MemoryRoverSet, and SQLRoverSet.
| Field Summary | |
|---|---|
byte[] |
areaToGroup
|
protected NamedGoedels |
areaTypes
|
protected ChangeGadget |
changeGadget
|
protected Naming |
connectivities
|
protected Naming |
detailLegends
|
protected boolean |
enabled
|
protected Naming |
findItems
|
NamedGoedels |
groups
|
protected Naming |
legendAliases
|
byte[] |
lineToGroup
|
protected NamedGoedels |
lineTypes
|
protected Naming |
lookups
|
protected MapSet |
mapSet
|
byte[] |
pointToGroup
|
protected NamedGoedels |
pointTypes
|
protected Naming |
printDetailLegends
|
protected Naming |
printRenderLegends
|
protected Naming |
renderLegends
|
byte[] |
textToGroup
|
protected NamedGoedels |
textTypes
|
MapSetViewSettings |
viewSettings
|
| Constructor Summary | |
|---|---|
RoverSet(MapSet mapSet)
|
|
| Method Summary | |
|---|---|
void |
addChangeListener(javax.swing.event.ChangeListener nosey)
|
int |
areaTypeCodeFor(java.lang.String name)
|
ElectricalConnectivity |
connectivityNamed(java.lang.String name)
|
abstract MapDataItem |
dataFor(int dataID)
This returns the MapDataItem with the given dataID. |
RenderLegend |
detailLegendFor(java.lang.String legendName,
MapViewFrame frame)
Returns the "detail" legend, which is used for highlights and other purposes. |
RenderLegend |
detailLegendFor(java.lang.String legendName,
MapViewFrame frame,
boolean printing)
|
FindItemIndex |
findItemNamed(java.lang.String name)
|
void |
fireChanged()
|
NamedGoedels |
getAreaTypes()
Returns the names and ids for each area graphic type. |
abstract int |
getDataItemCount()
This returns the number of data items. |
Naming |
getFindItems()
|
byte |
getGroupIDFor(java.lang.String graphicType)
|
NamedGoedels |
getLineTypes()
Returns the names and ids for each line graphic type. |
MapSet |
getMapSet()
|
NamedGoedels |
getPointTypes()
Returns the names and ids for each point graphic type. |
Naming |
getPrintRenderLegends()
|
Naming |
getRenderLegends()
|
NamedGoedels |
getTextTypes()
Returns the names and ids for each text graphic type. |
abstract RoverBytes |
graphicsFor(int dataID)
This returns the rover data necessary to render the map data item with the given dataID. |
abstract RoverBytes[] |
graphicsInside(MapViewFrame frame)
This returns the rover data necessary to render a given area at the given scale. |
boolean |
isDrawable()
|
boolean |
isEnabled()
|
int |
lineTypeCodeFor(java.lang.String name)
|
Lookup |
lookupNamed(java.lang.String name)
|
int |
pointTypeCodeFor(java.lang.String name)
|
void |
removeChangeListener(javax.swing.event.ChangeListener nosey)
|
RenderLegend |
renderLegendFor(java.lang.String legendName,
MapViewFrame frame)
Returns the proper rendering legend for the given name and frame. |
RenderLegend |
renderLegendFor(java.lang.String legendName,
MapViewFrame frame,
boolean printing)
|
void |
setEnabled(boolean tizit)
|
int |
textTypeCodeFor(java.lang.String name)
|
protected void |
updateGroups()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MapSet mapSet
protected ChangeGadget changeGadget
protected NamedGoedels areaTypes
protected NamedGoedels lineTypes
protected NamedGoedels pointTypes
protected NamedGoedels textTypes
protected Naming findItems
protected Naming lookups
protected Naming connectivities
protected Naming renderLegends
protected Naming printRenderLegends
protected Naming detailLegends
protected Naming printDetailLegends
protected Naming legendAliases
protected boolean enabled
public NamedGoedels groups
public byte[] areaToGroup
public byte[] lineToGroup
public byte[] pointToGroup
public byte[] textToGroup
public MapSetViewSettings viewSettings
| Constructor Detail |
|---|
public RoverSet(MapSet mapSet)
| Method Detail |
|---|
public abstract RoverBytes[] graphicsInside(MapViewFrame frame)
public abstract RoverBytes graphicsFor(int dataID)
public abstract MapDataItem dataFor(int dataID)
public abstract int getDataItemCount()
public RenderLegend renderLegendFor(java.lang.String legendName,
MapViewFrame frame)
public RenderLegend renderLegendFor(java.lang.String legendName,
MapViewFrame frame,
boolean printing)
public RenderLegend detailLegendFor(java.lang.String legendName,
MapViewFrame frame)
public RenderLegend detailLegendFor(java.lang.String legendName,
MapViewFrame frame,
boolean printing)
public int areaTypeCodeFor(java.lang.String name)
public int lineTypeCodeFor(java.lang.String name)
public int pointTypeCodeFor(java.lang.String name)
public int textTypeCodeFor(java.lang.String name)
public ElectricalConnectivity connectivityNamed(java.lang.String name)
public FindItemIndex findItemNamed(java.lang.String name)
public Lookup lookupNamed(java.lang.String name)
public NamedGoedels getAreaTypes()
public NamedGoedels getLineTypes()
public NamedGoedels getPointTypes()
public NamedGoedels getTextTypes()
public Naming getFindItems()
public Naming getRenderLegends()
public Naming getPrintRenderLegends()
public MapSet getMapSet()
public void addChangeListener(javax.swing.event.ChangeListener nosey)
public void removeChangeListener(javax.swing.event.ChangeListener nosey)
public void setEnabled(boolean tizit)
public boolean isEnabled()
public void fireChanged()
protected void updateGroups()
public byte getGroupIDFor(java.lang.String graphicType)
public boolean isDrawable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||