org.formaria.swt
Class Scale

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

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

Draws a scale

Copyright (c) Formaria Ltd., 2008

License: see license.txt $Revision: 2.18 $


Constructor Summary
Scale(java.lang.Object parent, int style)
          Create a scale
 
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

Scale

public Scale(java.lang.Object parent,
             int style)
Create a scale

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