superwaba.ext.xplat.html.ui
Class Hidden

java.lang.Object
  |
  +--superwaba.ext.xplat.html.ui.Hidden

public class Hidden
extends java.lang.Object
implements Controllable

Hidden is a hidden Controllable


Constructor Summary
Hidden(java.lang.String name, java.lang.String value)
          Constructor
 
Method Summary
 void getFocus()
          Make this controllable gets the focus
 java.lang.String getName()
          Get the name of this Controllable
 int getPreferredHeight()
          Get the height of this Controllable
 int getPreferredWidth()
          Get the width of this Controllable
 java.lang.String getValue()
          Get the value hold by this Controllable
 void onEvent(Event event)
          Called to process key, pen, control and other posted events.
 void onPaint(Graphics g)
          When this method is called, the graphics object passed has been translated into the coordinate system of the control and the area behind the control has already been painted.
 void repaint()
           
 void reset()
          Resets the control to its original default value.
 void setHtmlContainer(HtmlContainer htmlCnr)
          Set the Html HtmlContainer associated to this Controllable
 void setRect(Rect rect)
          Sets the control's position and size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hidden

public Hidden(java.lang.String name,
              java.lang.String value)
Constructor
Parameters:
name - Name of this Controllable
value - value of this control.
Method Detail

setHtmlContainer

public void setHtmlContainer(HtmlContainer htmlCnr)
Description copied from interface: Controllable
Set the Html HtmlContainer associated to this Controllable
Specified by:
setHtmlContainer in interface Controllable
Tags copied from interface: Controllable
Parameters:
htmlCnr - the HtmlContainer associated to this Controllable

getFocus

public void getFocus()
Description copied from interface: Controllable
Make this controllable gets the focus
Specified by:
getFocus in interface Controllable

getPreferredWidth

public int getPreferredWidth()
Description copied from interface: Controllable
Get the width of this Controllable
Specified by:
getPreferredWidth in interface Controllable
Tags copied from interface: Controllable
Returns:
the width of this Controllable

getPreferredHeight

public int getPreferredHeight()
Description copied from interface: Controllable
Get the height of this Controllable
Specified by:
getPreferredHeight in interface Controllable
Tags copied from interface: Controllable
Returns:
the height of this Controllable

getName

public java.lang.String getName()
Description copied from interface: Controllable
Get the name of this Controllable
Specified by:
getName in interface Controllable
Tags copied from interface: Controllable
Returns:
the name of this Controllable

getValue

public java.lang.String getValue()
Description copied from interface: Controllable
Get the value hold by this Controllable
Specified by:
getValue in interface Controllable
Tags copied from interface: Controllable
Returns:
the value hold by this Controllable

repaint

public void repaint()

setRect

public void setRect(Rect rect)
Description copied from interface: Controllable
Sets the control's position and size.
Specified by:
setRect in interface Controllable
Tags copied from interface: Controllable
Parameters:
rect - rectangular cooridantes to set

onEvent

public void onEvent(Event event)
Description copied from interface: Controllable
Called to process key, pen, control and other posted events.
Specified by:
onEvent in interface Controllable
Tags copied from interface: Controllable
Parameters:
event - the event to process

onPaint

public void onPaint(Graphics g)
Description copied from interface: Controllable
When this method is called, the graphics object passed has been translated into the coordinate system of the control and the area behind the control has already been painted. The background is painted by the top-level window control.
Specified by:
onPaint in interface Controllable
Tags copied from interface: Controllable
Parameters:
g - the graphics object for drawing

reset

public void reset()
Description copied from interface: Controllable
Resets the control to its original default value.
Specified by:
reset in interface Controllable