toggles to the alternate state or condition this class provides a set of methods to set on and off images if toggle behavior is not required the event can be ignored and a single image is always shown an image button also raises a high level onclick event when the user clicks the image button the collapser 46 and node icon 47 layers are image button instances the prompt class 104 represents a caption label control the inputtext class 106 inherits from the prompt class 104 and represents a textfield control the prompt class 104 inherits from the base class 100 to provide caption label functionality the prompt class 104 provides caption related methods such as setcaption and getcaption a prompt instance raises a captionchange event whenever the caption changes the inputtext class 106 inherits from the prompt class this class includes convenient methods to set and get the text value when the user performs a mouse down on the input text layer if enabled a mousedown event is raised and the input text layer brings up an html text field element so that user can edit the input text value when the user presses enter or clicks somewhere else an u201c onblur u201d event is raised and the input text layer removes the text field and displays the usual layer the treeinputtext class 107 inherits from the inputtext class an object of this class brings up the editable text field only when the user clicks twice on the object this is similar to tree control behavior found normally on microsoft 39 s windows explorer an editable text field appears only.