JIDE 3.5.15

com.jidesoft.plaf
Class ScaleAreaUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.jidesoft.plaf.ScaleAreaUI
Direct Known Subclasses:
BasicScaleAreaUI

public abstract class ScaleAreaUI
extends ComponentUI

Pluggable Look & Feel for the the ScaleArea of the GanttChart.

Note on generics: The generics of the ScaleArea and related classes are not preserved through the UIManager. The cast to ScaleArea where needed should be save.


Constructor Summary
ScaleAreaUI()
           
 
Method Summary
abstract  Period getPeriodAt(int y)
           
abstract  long getPositionAt(int x)
          Note: the components left-to-right orientation should be taken into account.
abstract  Dimension getPreferredPeriodSize(Period period)
           
abstract  int getX(long position)
          Note: the components left-to-right orientation should be taken into account.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleAreaUI

public ScaleAreaUI()
Method Detail

getPositionAt

public abstract long getPositionAt(int x)
Note: the components left-to-right orientation should be taken into account.


getX

public abstract int getX(long position)
Note: the components left-to-right orientation should be taken into account.


getPreferredPeriodSize

public abstract Dimension getPreferredPeriodSize(Period period)

getPeriodAt

public abstract Period getPeriodAt(int y)

JIDE 3.5.15