JIDE 3.5.15

com.jidesoft.plaf.basic
Class TableCellRendererScaleAreaUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.jidesoft.plaf.ScaleAreaUI
          extended by com.jidesoft.plaf.basic.BasicScaleAreaUI
              extended by com.jidesoft.plaf.basic.TableCellRendererScaleAreaUI

public class TableCellRendererScaleAreaUI
extends BasicScaleAreaUI


Nested Class Summary
protected static class TableCellRendererScaleAreaUI.RendererPropertyChangeHandler
           
 
Nested classes/interfaces inherited from class com.jidesoft.plaf.basic.BasicScaleAreaUI
BasicScaleAreaUI.Handler
 
Field Summary
 
Fields inherited from class com.jidesoft.plaf.basic.BasicScaleAreaUI
UI_MOUSE_DRAG_RESIZABLE, UI_PERIOD_HEADER_PAINTER
 
Constructor Summary
TableCellRendererScaleAreaUI()
           
 
Method Summary
protected  Dimension calculatePreferredPeriodSize(Period period)
           
protected  PeriodHeaderPainter createDefaultPeriodHeaderPainter(ScaleArea<Object> scaleArea)
           
protected  BasicScaleAreaUI.Handler createHandler()
           
static ComponentUI createUI(JComponent c)
           
protected  CellRendererPane getCellRendererPane()
           
 Dimension getPreferredPeriodSize(Period period)
           
protected  void installDefaults(ScaleArea<Object> scaleArea)
           
 void installUI(JComponent c)
           
protected  boolean isPeriodSelected(Period period, Object startInstant, Object endInstant)
           
 void paint(Graphics g, JComponent c)
           
protected  void repaintPeriod(Object period, Object start, Object end)
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class com.jidesoft.plaf.basic.BasicScaleAreaUI
getLeftToRightX, getPeriodAt, getPositionAt, getPreferredSize, getScaleArea, getX, installListeners, paintBackground, recalculateScale, setPreferredPeriodSize, uninstallDefaults, uninstallListeners
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableCellRendererScaleAreaUI

public TableCellRendererScaleAreaUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class BasicScaleAreaUI

createDefaultPeriodHeaderPainter

protected PeriodHeaderPainter createDefaultPeriodHeaderPainter(ScaleArea<Object> scaleArea)
Overrides:
createDefaultPeriodHeaderPainter in class BasicScaleAreaUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class BasicScaleAreaUI

installDefaults

protected void installDefaults(ScaleArea<Object> scaleArea)
Overrides:
installDefaults in class BasicScaleAreaUI

calculatePreferredPeriodSize

protected Dimension calculatePreferredPeriodSize(Period period)

getPreferredPeriodSize

public Dimension getPreferredPeriodSize(Period period)
Overrides:
getPreferredPeriodSize in class BasicScaleAreaUI

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class BasicScaleAreaUI

getCellRendererPane

protected CellRendererPane getCellRendererPane()

createHandler

protected BasicScaleAreaUI.Handler createHandler()
Overrides:
createHandler in class BasicScaleAreaUI

isPeriodSelected

protected boolean isPeriodSelected(Period period,
                                   Object startInstant,
                                   Object endInstant)

repaintPeriod

protected void repaintPeriod(Object period,
                             Object start,
                             Object end)

JIDE 3.5.15