API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web.widget.builtin. JOTTextBoxWidget View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTWidgetBase
          JOTWidgetNoAjaxBase
              JOTTextBoxWidget
Implements
Subclasses
Description
publicabstract abstract class JOTTextBoxWidget
Smple text widget
See also:   
Constructors
public JOTTextBoxWidget ()
Methods
Hide/Show inherited methods
public void customizeProperties () [Specified in JOTWidgetBase]
publicstatic String decodeCommas (String value) [Inherited From JOTWidgetBase]
  Put the commas back after parsing the args.
public void dumpWidgetProperties () [Inherited From JOTWidgetBase]
publicstatic String encodeCommas (String value) [Inherited From JOTWidgetBase]
  When passing arguments to a widget they are comma separated, do if an arg value contains a comma this causes problems, so use encodeCommas(argValue) to encode the commas in your args value.
public void executeAjaxCall (JOTFlowRequest request, HttpServletResponse response) throws Exception [Inherited From JOTWidgetBase]
public String getAjaxAction () [Inherited From JOTWidgetNoAjaxBase]
public String getAjaxCallbackJavascript () [Inherited From JOTWidgetNoAjaxBase] [Specified in JOTWidgetBase]
public int getId () [Inherited From JOTWidgetBase]
public String getJscriptCallbackFunctionName () [Inherited From JOTWidgetBase]
public String getJscriptFuncName () [Inherited From JOTWidgetBase]
protectedsynchronized int getNextUniqueId () [Inherited From JOTWidgetBase]
  We want each widget in the "page" to have a unique id, to avoid issues with same widget several time in same page So we create a unique id in the request scope which shoudl provide what we wat here.
public JOTWidgetBaseProperties getProperties () [Inherited From JOTWidgetBase]
publicabstract String getShortName () [Inherited From JOTWidgetBase]
  Returns a shortname for your widget (<25 chars)
public void init (HttpServletRequest request, HttpServletResponse response) [Inherited From JOTWidgetBase]
  "Manual" constructor
public void init (JOTView view) [Inherited From JOTWidgetBase]
Standard widdget constructor, calls customizeProperties
public boolean isAjaxEnabled () [Inherited From JOTWidgetNoAjaxBase]
protected Hashtable parseArgs (String args) [Inherited From JOTWidgetBase]
  Parse the args String
public void parseProperties (JOTFlowRequest request) [Inherited From JOTWidgetBase]
public void prepareViewData () throws Exception [Inherited From JOTWidgetBase]
  Will be called when the ajax call is made.
public String render (String args) [Inherited From JOTWidgetBase]
  Will be called by jot, when a widget is found in a view.
public String renderPropertiesScreen (int id) [Inherited From JOTWidgetBase]
publicabstract String renderWidget (Hashtable args) [Inherited From JOTWidgetBase]
  Renders the HTML code content for the widget
public Hashtable widgetAjaxCall (JOTFlowRequest request) [Inherited From JOTWidgetNoAjaxBase] [Specified in JOTWidgetBase]
Fields
Hide/Show inherited fields
protectedfinalstatic Pattern ARG_PATTERN [Inherited From JOTWidgetBase]
public String overflow
public JOTWidgetBaseProperties properties [Inherited From JOTWidgetBase]
public JOTFlowRequest request [Inherited From JOTWidgetBase]
public HttpServletResponse response [Inherited From JOTWidgetBase]
public HttpSession session [Inherited From JOTWidgetBase]
public int uniqueId [Inherited From JOTWidgetBase]
protected JOTView view [Inherited From JOTWidgetBase]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar