org.micropainter.core.layout.metrics.manager
Class AbstractMetricsManager

java.lang.Object
  extended by org.micropainter.core.layout.metrics.manager.AbstractMetricsManager
All Implemented Interfaces:
MetricsLayoutManager
Direct Known Subclasses:
CompoundMetricsManager, DynamicMetricsManager, FlowMetricsManager, FreeMetricsManager, MiliMetricsManager, StaticMetricsManager

public abstract class AbstractMetricsManager
extends java.lang.Object
implements MetricsLayoutManager


Field Summary
private  IMetricsFormat basicFormater
           
private  IMetricsFormat formater
           
static int METRICS_X
           
static int METRICS_Y
           
private  java.awt.Color metricsLabelColor
           
private  java.awt.Color metricsMarkerColor
           
private  MetricsRenderContext renderContext
           
private  int type
           
private  int windowZone
           
 
Constructor Summary
AbstractMetricsManager()
           
 
Method Summary
 IMetricsFormat getBasicFormater()
           
 IMetricsFormat getFormater()
           
 java.awt.Color getMetricsLabelColor()
           
 java.awt.Color getMetricsMarkerColor()
           
 MetricsRenderContext getRenderContext()
           
 int getType()
           
 int getWindowZone()
           
 void setBasicFormater(IMetricsFormat basicFormater)
           
 void setFormater(IMetricsFormat formater)
           
 void setMetricsLabelColor(java.awt.Color metricsLabelColor)
           
 void setMetricsMarkerColor(java.awt.Color metricsColor)
           
 void setRenderContext(MetricsRenderContext renderContext)
           
 void setType(int type)
           
 void setWindowZone(int windowZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.micropainter.core.layout.metrics.manager.MetricsLayoutManager
getDeviceMetrics
 

Field Detail

basicFormater

private IMetricsFormat basicFormater

METRICS_X

public static int METRICS_X

METRICS_Y

public static int METRICS_Y

type

private int type

windowZone

private int windowZone

formater

private IMetricsFormat formater

metricsMarkerColor

private java.awt.Color metricsMarkerColor

metricsLabelColor

private java.awt.Color metricsLabelColor

renderContext

private MetricsRenderContext renderContext
Constructor Detail

AbstractMetricsManager

public AbstractMetricsManager()
Method Detail

getRenderContext

public MetricsRenderContext getRenderContext()
Specified by:
getRenderContext in interface MetricsLayoutManager

setRenderContext

public void setRenderContext(MetricsRenderContext renderContext)
Specified by:
setRenderContext in interface MetricsLayoutManager

getBasicFormater

public IMetricsFormat getBasicFormater()

setBasicFormater

public void setBasicFormater(IMetricsFormat basicFormater)

setType

public void setType(int type)
Specified by:
setType in interface MetricsLayoutManager

getType

public int getType()
Specified by:
getType in interface MetricsLayoutManager

getWindowZone

public int getWindowZone()

setWindowZone

public void setWindowZone(int windowZone)

getFormater

public IMetricsFormat getFormater()
Specified by:
getFormater in interface MetricsLayoutManager

setFormater

public void setFormater(IMetricsFormat formater)
Specified by:
setFormater in interface MetricsLayoutManager

getMetricsMarkerColor

public java.awt.Color getMetricsMarkerColor()
Specified by:
getMetricsMarkerColor in interface MetricsLayoutManager

setMetricsMarkerColor

public void setMetricsMarkerColor(java.awt.Color metricsColor)
Specified by:
setMetricsMarkerColor in interface MetricsLayoutManager

getMetricsLabelColor

public java.awt.Color getMetricsLabelColor()
Specified by:
getMetricsLabelColor in interface MetricsLayoutManager

setMetricsLabelColor

public void setMetricsLabelColor(java.awt.Color metricsLabelColor)
Specified by:
setMetricsLabelColor in interface MetricsLayoutManager