TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.ui.widgets.zoomslider
Class TimeZoomSliderTick

java.lang.Object
  extended byorg.eclipse.hyades.ui.widgets.zoomslider.ZoomSliderTick
      extended byorg.eclipse.hyades.ui.widgets.zoomslider.TimeZoomSliderTick

public class TimeZoomSliderTick
extends ZoomSliderTick

TimeZoomSliderTick represents a tick on a TimeZoomSlider

Since:
4.0.0

Field Summary
 
Fields inherited from class org.eclipse.hyades.ui.widgets.zoomslider.ZoomSliderTick
representation, slider, sliderPixel, sliderValue, textVisible
 
Constructor Summary
TimeZoomSliderTick(ZoomSlider slider, double d)
          TimeZoomSliderTick constructor.
 
Method Summary
protected  boolean isTextVisible()
          Return whether the text on the slider is currently visible or not
 
Methods inherited from class org.eclipse.hyades.ui.widgets.zoomslider.ZoomSliderTick
getPixel, getTextVisibleBoolean, getValue, overlaps, paintLine, paintText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeZoomSliderTick

public TimeZoomSliderTick(ZoomSlider slider,
                          double d)
TimeZoomSliderTick constructor.

Parameters:
slider - the ZoomSlider parent for this tick
d - the double location value of this tick
Method Detail

isTextVisible

protected boolean isTextVisible()
Description copied from class: ZoomSliderTick
Return whether the text on the slider is currently visible or not

Overrides:
isTextVisible in class ZoomSliderTick
Returns:
a boolean representing the visibility of the text

TPTP 4.1.0 Platform Project
Public API Specification