superwaba.ext.xplat.html.ui
Class Submit

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Button
              |
              +--superwaba.ext.xplat.html.ui.Button
                    |
                    +--superwaba.ext.xplat.html.ui.Submit

public class Submit
extends Button

Submit IS-A Button to submit a form.


Fields inherited from class superwaba.ext.xplat.html.ui.Button
htmlCnr
 
Fields inherited from class waba.ui.Button
aColor, armed, border, BORDER_3D, BORDER_NONE, BORDER_SIMPLE, commonGap, cutText, fColor, fourColors, gap, hh, ignoreEvents, img, imgColor, isText, myg, text, ww
 
Fields inherited from class waba.ui.Control
AFTER, appId, appObj, asContainer, asWindow, backColor, backDis, BEFORE, BOTTOM, CENTER, clearValueInt, clearValueStr, enabled, FILL, FIT, fm, fmH, focusLess, focusTraversable, font, foreColor, foreDis, height, highlightRectsCount, isHighlighting, LEFT, parent, PREFERRED, RANGE, RIGHT, SAME, TOP, uiCE, uiFlat, uiPalm, uiVista, visible, width, x, x2, y, y2
 
Constructor Summary
Submit(java.lang.String name, java.lang.String value, Form form)
          Constructor
 
Method Summary
 void onEvent(Event event)
          Submit the associated form
 
Methods inherited from class superwaba.ext.xplat.html.ui.Button
getFocus, getName, getPreferredHeight, getPreferredWidth, getValue, onPaint, paintButton, repaint, reset, setHtmlContainer
 
Methods inherited from class waba.ui.Button
createArrowButton, getImage, getText, onBoundsChanged, onColorsChanged, onFontChanged, onlyShowImage, paintButton, press, setBorder, setGap, setImage, setPressedColor, setText, simulatePress
 
Methods inherited from class waba.ui.Control
addTimer, changeHighlighted, clear, contains, createGraphics, drawHighlight, getAbsoluteRect, getBackColor, getFont, getFontMetrics, getForeColor, getNext, getParent, getParentWindow, getPos, getRect, getSize, isDisplayed, isEnabled, isVisible, onWindowPaintFinished, postEvent, removeTimer, repaintNow, requestFocus, setBackColor, setBackForeColors, setEnabled, setFocusLess, setFont, setForeColor, setRect, setRect, setRect, setVisible, translateFromOrigin, uiStyleChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Submit

public Submit(java.lang.String name,
              java.lang.String value,
              Form form)
Constructor
Parameters:
name - Name of this Controllable
value - string to be displayed in this Button
form - the form associated to this Submit button.
Method Detail

onEvent

public void onEvent(Event event)
Submit the associated form
Overrides:
onEvent in class Button
Tags copied from interface: Controllable
Parameters:
event - the event to process