com.partnersoft.maps.app
Class WheelMenuSkin

java.lang.Object
  extended by com.partnersoft.maps.app.WheelMenuSkin
All Implemented Interfaces:
Coggable

public class WheelMenuSkin
extends java.lang.Object
implements Coggable

Configuration parameters for the visual appearance of the wheel menu.

Copyright 2007 Partner Software, Inc.

Version:
$Id: WheelMenuSkin.java 2046 2009-08-25 05:28:53Z paul $
Author:
Paul Reavis

Nested Class Summary
 class WheelMenuSkin.WheelCenterIcon
           
 class WheelMenuSkin.WheelIndicationIcon
           
 class WheelMenuSkin.WheelLabelIcon
           
 class WheelMenuSkin.WheelMenuIcon
           
 
Field Summary
static int CENTER_RADIUS
           
static java.awt.geom.Area CENTER_SHAPE
           
static FontSpecification HELP_FONT
           
static java.lang.String[] HELP_TEXT
           
static FontSpecification LABEL_FONT
           
static java.lang.String[] LABEL_TEXT
           
static int WHEEL_RADIUS
           
static java.awt.geom.Area WHEEL_SHAPE
           
 
Constructor Summary
WheelMenuSkin()
           
WheelMenuSkin(Cog newState)
           
WheelMenuSkin(java.lang.String wheelColorName, java.lang.String labelColorName, float centerOpacity)
           
 
Method Summary
 float getCenterOpacity()
           
 java.awt.Paint getGradient()
           
 java.awt.Paint getIndicationGradient()
           
 java.awt.Color getLabelColor()
           
 java.lang.String getLabelColorName()
           
 javax.swing.Icon getWheelCenterIcon()
           
 java.awt.Color getWheelColor()
           
 java.lang.String getWheelColorName()
           
 javax.swing.Icon getWheelIndicationIcon(int command)
           
 javax.swing.Icon getWheelLabelIcon(int command)
           
 javax.swing.Icon getWheelMenuIcon()
           
 void setCenterOpacity(float centerOpacity)
           
 void setLabelColorName(java.lang.String labelColorName)
           
 void setWheelColorName(java.lang.String wheelColorName)
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WHEEL_RADIUS

public static final int WHEEL_RADIUS
See Also:
Constant Field Values

CENTER_RADIUS

public static final int CENTER_RADIUS
See Also:
Constant Field Values

HELP_TEXT

public static final java.lang.String[] HELP_TEXT

LABEL_TEXT

public static final java.lang.String[] LABEL_TEXT

HELP_FONT

public static final FontSpecification HELP_FONT

LABEL_FONT

public static final FontSpecification LABEL_FONT

CENTER_SHAPE

public static final java.awt.geom.Area CENTER_SHAPE

WHEEL_SHAPE

public static final java.awt.geom.Area WHEEL_SHAPE
Constructor Detail

WheelMenuSkin

public WheelMenuSkin()

WheelMenuSkin

public WheelMenuSkin(java.lang.String wheelColorName,
                     java.lang.String labelColorName,
                     float centerOpacity)

WheelMenuSkin

public WheelMenuSkin(Cog newState)
Method Detail

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

getGradient

public java.awt.Paint getGradient()

getIndicationGradient

public java.awt.Paint getIndicationGradient()

getWheelCenterIcon

public javax.swing.Icon getWheelCenterIcon()

getWheelMenuIcon

public javax.swing.Icon getWheelMenuIcon()

getWheelLabelIcon

public javax.swing.Icon getWheelLabelIcon(int command)

getWheelIndicationIcon

public javax.swing.Icon getWheelIndicationIcon(int command)

getCenterOpacity

public float getCenterOpacity()

setCenterOpacity

public void setCenterOpacity(float centerOpacity)

getLabelColorName

public java.lang.String getLabelColorName()

setLabelColorName

public void setLabelColorName(java.lang.String labelColorName)

getWheelColorName

public java.lang.String getWheelColorName()

setWheelColorName

public void setWheelColorName(java.lang.String wheelColorName)

getLabelColor

public java.awt.Color getLabelColor()

getWheelColor

public java.awt.Color getWheelColor()