thyEditBox

This is the edit box to be used in ThyAPI.  In the present state, it is just a label and a simple HTML input wrapped around a ThyAPI compatible system.

CSS Classes

  • .thyEditBox_label
  • .thyEditBox_editbox
  • .<object name>_label
  • .<object name>_contents
Summary
This is the edit box to be used in ThyAPI.
Initialization Method
Initialization method executed right before element creation
Give the Edit Box Focus
Resets the contents
Resets the contents
Returns the element that should be used to listen key events
Overloaded method that returns the height of the input field
Overloaded method that returns the width of the input field
Turns the EditBox into ReadOnly mode
Removes editbox contents
Removes editbox contents
Executed when non-private thyPanel setDisabled method is called
Update this element value
Returns the current value of this component

initThyEditBox

p.initThyEditBox = function()

Initialization Method

preInitThyEditBox

p.preInitThyEditBox = function()

Initialization method executed right before element creation

focus

p.focus = function ()

Give the Edit Box Focus

cleanUp

p.cleanUp = function ()

Resets the contents

reset

Resets the contents

getKeyEventElement

p.getKeyEventElement = function ()

Returns the element that should be used to listen key events

getHeight

p.getHeight = function ()

Overloaded method that returns the height of the input field

getWidth

p.getWidth = function ()

Overloaded method that returns the width of the input field

_setReadOnly

p._setReadOnly = function ()

Turns the EditBox into ReadOnly mode

_cleanUp

p._cleanUp = function ()

Removes editbox contents

_reset

Removes editbox contents

_setDisabled

p._setDisabled = function ()

Executed when non-private thyPanel setDisabled method is called

_populateContents

p._populateContents = function(data)

Update this element value

_sweepOutContents

p._sweepOutContents = function()

Returns the current value of this component

p.initThyEditBox = function()
Initialization Method
p.preInitThyEditBox = function()
Initialization method executed right before element creation
p.focus = function ()
Give the Edit Box Focus
p.cleanUp = function ()
Resets the contents
p.getKeyEventElement = function ()
Returns the element that should be used to listen key events
p.getHeight = function ()
Overloaded method that returns the height of the input field
p.getWidth = function ()
Overloaded method that returns the width of the input field
p._setReadOnly = function ()
Turns the EditBox into ReadOnly mode
p._cleanUp = function ()
Removes editbox contents
p._setDisabled = function ()
Executed when non-private thyPanel setDisabled method is called
Base class for all other ThyAPI GUI Components
p._populateContents = function(data)
Update this element value
p._sweepOutContents = function()
Returns the current value of this component