com.partnersoft.maps.app
Class MapStyleLogic

java.lang.Object
  extended by com.partnersoft.maps.app.MapStyleLogic

public class MapStyleLogic
extends java.lang.Object

Various methods to assist with looking at styles.

Copyright 2008-2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
MapStyleLogic(MapApp app)
           
 
Method Summary
 void initialize()
           
 VfsFile styleFileFor(MapSet mapset, RoverShapeType shapeType, java.lang.String styleName)
           
 java.lang.String styleNameFor(RoverSet roverSet, RoverShape shape)
           
 java.lang.String styleNameFor(RoverSet roverSet, RoverShapeType shapeType, int drawId)
          Returns the current style name for the given shape.
 java.lang.String styleNameFor(RoverSet roverSet, RoverShapeType shapeType, java.lang.String drawName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapStyleLogic

public MapStyleLogic(MapApp app)
Method Detail

initialize

public void initialize()

styleNameFor

public java.lang.String styleNameFor(RoverSet roverSet,
                                     RoverShapeType shapeType,
                                     int drawId)
Returns the current style name for the given shape.

Returns:

styleNameFor

public java.lang.String styleNameFor(RoverSet roverSet,
                                     RoverShape shape)

styleNameFor

public java.lang.String styleNameFor(RoverSet roverSet,
                                     RoverShapeType shapeType,
                                     java.lang.String drawName)

styleFileFor

public VfsFile styleFileFor(MapSet mapset,
                            RoverShapeType shapeType,
                            java.lang.String styleName)