org.apache.hadoop.yarn.webapp.view
Class JQueryUI

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.View
      extended by org.apache.hadoop.yarn.webapp.view.TextView
          extended by org.apache.hadoop.yarn.webapp.view.HtmlBlock
              extended by org.apache.hadoop.yarn.webapp.view.JQueryUI
All Implemented Interfaces:
Params, SubView

@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"})
public class JQueryUI
extends HtmlBlock


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock
HtmlBlock.Block
 
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.View
View.ViewContext
 
Field Summary
static String _EVEN
           
static String _INFO
           
static String _INFO_WRAP
           
static String _ODD
           
static String _PROGRESSBAR
           
static String _PROGRESSBAR_VALUE
           
static String _TH
           
static String ACCORDION
           
static String ACCORDION_ID
           
static String C_PROGRESSBAR
           
static String C_PROGRESSBAR_VALUE
           
static String C_TABLE
           
static String C_TH
           
static String DATATABLES
           
static String DATATABLES_ID
           
static String DATATABLES_SELECTOR
           
static String DIALOG
           
static String DIALOG_ID
           
static String DIALOG_SELECTOR
           
static String PROGRESSBAR
           
static String PROGRESSBAR_ID
           
 
Fields inherited from class org.apache.hadoop.yarn.webapp.View
LOG
 
Fields inherited from interface org.apache.hadoop.yarn.webapp.Params
ERROR_DETAILS, TITLE, TITLE_LINK, USER
 
Constructor Summary
JQueryUI()
           
 
Method Summary
protected  void initAccordions(List<String> list)
           
protected  void initDataTables(List<String> list)
           
protected  void initDialogs(List<String> list)
           
static String initID(String name, String id)
           
protected  void initProgressBars(List<String> list)
           
static String initSelector(String name)
           
static void jsnotice(HamletSpec.HTML html)
           
static String postInitID(String name, String id)
           
protected  void render(HtmlBlock.Block html)
          Render a block of html.
static StringBuilder tableInit()
           
 
Methods inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock
getCallerUGI, render, renderPartial
 
Methods inherited from class org.apache.hadoop.yarn.webapp.view.TextView
echo, puts, writer
 
Methods inherited from class org.apache.hadoop.yarn.webapp.View
$, $, context, cookies, error, getInstance, inDevMode, info, injector, moreParams, outputStream, prefix, render, request, response, root_url, root, set, setTitle, setTitle, status, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCORDION

public static final String ACCORDION
See Also:
Constant Field Values

ACCORDION_ID

public static final String ACCORDION_ID
See Also:
Constant Field Values

DATATABLES

public static final String DATATABLES
See Also:
Constant Field Values

DATATABLES_ID

public static final String DATATABLES_ID
See Also:
Constant Field Values

DATATABLES_SELECTOR

public static final String DATATABLES_SELECTOR
See Also:
Constant Field Values

DIALOG

public static final String DIALOG
See Also:
Constant Field Values

DIALOG_ID

public static final String DIALOG_ID
See Also:
Constant Field Values

DIALOG_SELECTOR

public static final String DIALOG_SELECTOR
See Also:
Constant Field Values

PROGRESSBAR

public static final String PROGRESSBAR
See Also:
Constant Field Values

PROGRESSBAR_ID

public static final String PROGRESSBAR_ID
See Also:
Constant Field Values

_PROGRESSBAR

public static final String _PROGRESSBAR
See Also:
Constant Field Values

C_PROGRESSBAR

public static final String C_PROGRESSBAR

_PROGRESSBAR_VALUE

public static final String _PROGRESSBAR_VALUE
See Also:
Constant Field Values

C_PROGRESSBAR_VALUE

public static final String C_PROGRESSBAR_VALUE

_INFO_WRAP

public static final String _INFO_WRAP
See Also:
Constant Field Values

_TH

public static final String _TH
See Also:
Constant Field Values

C_TH

public static final String C_TH

C_TABLE

public static final String C_TABLE
See Also:
Constant Field Values

_INFO

public static final String _INFO
See Also:
Constant Field Values

_ODD

public static final String _ODD
See Also:
Constant Field Values

_EVEN

public static final String _EVEN
See Also:
Constant Field Values
Constructor Detail

JQueryUI

public JQueryUI()
Method Detail

render

protected void render(HtmlBlock.Block html)
Description copied from class: HtmlBlock
Render a block of html. To be overridden by implementation.

Specified by:
render in class HtmlBlock
Parameters:
html - the block to render

jsnotice

public static void jsnotice(HamletSpec.HTML html)

initAccordions

protected void initAccordions(List<String> list)

initDataTables

protected void initDataTables(List<String> list)

initDialogs

protected void initDialogs(List<String> list)

initProgressBars

protected void initProgressBars(List<String> list)

initID

public static String initID(String name,
                            String id)

postInitID

public static String postInitID(String name,
                                String id)

initSelector

public static String initSelector(String name)

tableInit

public static StringBuilder tableInit()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.