org.formaria.swt
Class Slider

java.lang.Object
  extended by org.eclipse.swt.widgets.Slider
      extended by org.formaria.swt.Slider

public class Slider
extends org.eclipse.swt.widgets.Slider

Draws a slider

Copyright (c) Formaria Ltd., 2008

License: see license.txt $Revision: 2.18 $


Constructor Summary
Slider(java.lang.Object parent, int style)
          Create a slider
 
Method Summary
protected  void checkSubclass()
          Suppress the subclassing exception
 java.lang.String getToolTip()
          Get the tooltip text
 void setToolTip(java.lang.String text)
          Set the tooltip text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slider

public Slider(java.lang.Object parent,
              int style)
Create a slider

Parameters:
parent - parent object
style - the style
Method Detail

checkSubclass

protected void checkSubclass()
Suppress the subclassing exception


setToolTip

public void setToolTip(java.lang.String text)
Set the tooltip text

Parameters:
text - the new text

getToolTip

public java.lang.String getToolTip()
Get the tooltip text

Returns:
the existing text if any