org.formaria.swt
Class Spinner

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

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

Draws a spinner

Copyright (c) Formaria Ltd., 2008

License: see license.txt $Revision: 2.18 $


Constructor Summary
Spinner(java.lang.Object parent)
          Create a spinner
 
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

Spinner

public Spinner(java.lang.Object parent)
Create a spinner

Parameters:
parent - parent object
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