org.gwtwidgets.client.ui.gsearch
Class GdrawOptions

java.lang.Object
  extended by org.gwtwidgets.client.ui.gsearch.GdrawOptions

public class GdrawOptions
extends java.lang.Object

Java Class providing operations for the underlying psuedo implementation of the GdrawOptions object - there is no corresponding JNSI implementation for this object.

Version:
0.0.2
Author:
Adam Tacy

Constructor Summary
GdrawOptions()
          Constructor
 
Method Summary
 int getDrawMode()
          Get Draw Mode
 com.google.gwt.user.client.Element getInputElement()
          Get the input element
 boolean isDrawModeSet()
          Is the draw mode been set to anything but the default?
 boolean isInputAttached()
          Is an non default input box attached to the draw options?
 void setDrawMode(int mode)
          Set Draw Mode
 void setInput(com.google.gwt.user.client.Element e)
          Set input element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GdrawOptions

public GdrawOptions()
Constructor

Method Detail

isDrawModeSet

public boolean isDrawModeSet()
Is the draw mode been set to anything but the default?

Returns:
True if it has.

isInputAttached

public boolean isInputAttached()
Is an non default input box attached to the draw options?

Returns:
true if one is.

getInputElement

public com.google.gwt.user.client.Element getInputElement()
Get the input element

Returns:
Input element

setInput

public void setInput(com.google.gwt.user.client.Element e)
Set input element

Parameters:
e - Input element

setDrawMode

public void setDrawMode(int mode)
Set Draw Mode

Parameters:
mode - The new Draw Mode

getDrawMode

public int getDrawMode()
Get Draw Mode

Returns:
The Draw Mode.


Copyright © 2006 Robert Hanson. All Rights Reserved.