本文整理了Java中org.apache.hadoop.yarn.webapp.view.JQueryUI.initSelector()
方法的一些代码示例,展示了JQueryUI.initSelector()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JQueryUI.initSelector()
方法的具体详情如下:
包路径:org.apache.hadoop.yarn.webapp.view.JQueryUI
类名称:JQueryUI
方法名:initSelector
暂无
代码示例来源:origin: ch.cern.hadoop/hadoop-yarn-common
String init = $(initSelector(DATATABLES));
if (init.isEmpty()) {
init = defaultInit;
代码示例来源:origin: io.hops/hadoop-mapreduce-client-hs
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
setActiveNavColumnForTask();
set(DATATABLES_SELECTOR, "#counters .dt-counters");
set(initSelector(DATATABLES),
"{bJQueryUI:true, sDom:'t', iDisplayLength:-1}");
}
代码示例来源:origin: org.apache.hadoop/hadoop-yarn-common
String init = $(initSelector(DATATABLES));
if (init.isEmpty()) {
init = defaultInit;
代码示例来源:origin: com.github.jiayuhan-it/hadoop-yarn-common
String init = $(initSelector(DATATABLES));
if (init.isEmpty()) {
init = defaultInit;
代码示例来源:origin: org.apache.hadoop/hadoop-mapreduce-client-app
@Override protected void preHead(Page.HTML<__> html) {
commonPreHead(html);
String tid = $(TASK_ID);
String activeNav = "3";
if(tid == null || tid.isEmpty()) {
activeNav = "2";
}
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:"+activeNav+"}");
set(DATATABLES_SELECTOR, "#counters .dt-counters");
set(initSelector(DATATABLES),
"{bJQueryUI:true, sDom:'t', iDisplayLength:-1}");
}
代码示例来源:origin: com.github.jiayuhan-it/hadoop-mapreduce-client-hs
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
String tid = $(TASK_ID);
String activeNav = "2";
if(tid == null || tid.isEmpty()) {
activeNav = "1";
}
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:"+activeNav+"}");
set(DATATABLES_SELECTOR, "#counters .dt-counters");
set(initSelector(DATATABLES),
"{bJQueryUI:true, sDom:'t', iDisplayLength:-1}");
}
代码示例来源:origin: io.hops/hadoop-mapreduce-client-app
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
String tid = $(TASK_ID);
String activeNav = "3";
if(tid == null || tid.isEmpty()) {
activeNav = "2";
}
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:"+activeNav+"}");
set(DATATABLES_SELECTOR, "#counters .dt-counters");
set(initSelector(DATATABLES),
"{bJQueryUI:true, sDom:'t', iDisplayLength:-1}");
}
代码示例来源:origin: com.github.jiayuhan-it/hadoop-mapreduce-client-app
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
String tid = $(TASK_ID);
String activeNav = "3";
if(tid == null || tid.isEmpty()) {
activeNav = "2";
}
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:"+activeNav+"}");
set(DATATABLES_SELECTOR, "#counters .dt-counters");
set(initSelector(DATATABLES),
"{bJQueryUI:true, sDom:'t', iDisplayLength:-1}");
}
代码示例来源:origin: ch.cern.hadoop/hadoop-mapreduce-client-hs
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
String tid = $(TASK_ID);
String activeNav = "2";
if(tid == null || tid.isEmpty()) {
activeNav = "1";
}
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:"+activeNav+"}");
set(DATATABLES_SELECTOR, "#counters .dt-counters");
set(initSelector(DATATABLES),
"{bJQueryUI:true, sDom:'t', iDisplayLength:-1}");
}
代码示例来源:origin: ch.cern.hadoop/hadoop-yarn-common
protected void initDialogs(List<String> list) {
String defaultInit = "{autoOpen: false, show: transfer, hide: explode}";
for (String id : split($(DIALOG_ID))) {
if (Html.isValidId(id)) {
String init = $(initID(DIALOG, id));
if (init.isEmpty()) {
init = defaultInit;
}
String opener = $(djoin(DIALOG, id, "opener"));
list.add(join(" $('#", id, "').dialog(", init, ");"));
if (!opener.isEmpty() && Html.isValidId(opener)) {
list.add(join(" $('#", opener, "').click(function() { ",
"$('#", id, "').dialog('open'); return false; });"));
}
}
}
String selector = $(DIALOG_SELECTOR);
if (!selector.isEmpty()) {
String init = $(initSelector(DIALOG));
if (init.isEmpty()) {
init = defaultInit;
}
list.add(join(" $('", escapeJavaScript(selector),
"').click(function() { $(this).children('.dialog').dialog(",
init, "); return false; });"));
}
}
代码示例来源:origin: com.github.jiayuhan-it/hadoop-yarn-common
protected void initDialogs(List<String> list) {
String defaultInit = "{autoOpen: false, show: transfer, hide: explode}";
for (String id : split($(DIALOG_ID))) {
if (Html.isValidId(id)) {
String init = $(initID(DIALOG, id));
if (init.isEmpty()) {
init = defaultInit;
}
String opener = $(djoin(DIALOG, id, "opener"));
list.add(join(" $('#", id, "').dialog(", init, ");"));
if (!opener.isEmpty() && Html.isValidId(opener)) {
list.add(join(" $('#", opener, "').click(function() { ",
"$('#", id, "').dialog('open'); return false; });"));
}
}
}
String selector = $(DIALOG_SELECTOR);
if (!selector.isEmpty()) {
String init = $(initSelector(DIALOG));
if (init.isEmpty()) {
init = defaultInit;
}
list.add(join(" $('", escapeJavaScript(selector),
"').click(function() { $(this).children('.dialog').dialog(",
init, "); return false; });"));
}
}
代码示例来源:origin: org.apache.hadoop/hadoop-yarn-common
protected void initDialogs(List<String> list) {
String defaultInit = "{autoOpen: false, show: transfer, hide: explode}";
for (String id : split($(DIALOG_ID))) {
if (Html.isValidId(id)) {
String init = $(initID(DIALOG, id));
if (init.isEmpty()) {
init = defaultInit;
}
String opener = $(djoin(DIALOG, id, "opener"));
list.add(join(" $('#", id, "').dialog(", init, ");"));
if (!opener.isEmpty() && Html.isValidId(opener)) {
list.add(join(" $('#", opener, "').click(function() { ",
"$('#", id, "').dialog('open'); return false; });"));
}
}
}
String selector = $(DIALOG_SELECTOR);
if (!selector.isEmpty()) {
String init = $(initSelector(DIALOG));
if (init.isEmpty()) {
init = defaultInit;
}
list.add(join(" $('", escapeEcmaScript(selector),
"').click(function() { $(this).children('.dialog').dialog(",
init, "); return false; });"));
}
}
代码示例来源:origin: com.github.jiayuhan-it/hadoop-mapreduce-client-hs
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
set(DATATABLES_ID, "tasks");
set(DATATABLES_SELECTOR, ".dt-tasks" );
set(initSelector(DATATABLES), tasksTableInit());
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}");
set(initID(DATATABLES, "tasks"), tasksTableInit());
set(postInitID(DATATABLES, "tasks"), jobsPostTableInit());
setTableStyles(html, "tasks");
}
代码示例来源:origin: io.hops/hadoop-mapreduce-client-hs
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
set(DATATABLES_ID, "tasks");
set(DATATABLES_SELECTOR, ".dt-tasks" );
set(initSelector(DATATABLES), tasksTableInit());
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}");
set(initID(DATATABLES, "tasks"), tasksTableInit());
set(postInitID(DATATABLES, "tasks"), jobsPostTableInit());
setTableStyles(html, "tasks");
}
代码示例来源:origin: ch.cern.hadoop/hadoop-mapreduce-client-hs
@Override protected void preHead(Page.HTML<_> html) {
commonPreHead(html);
set(DATATABLES_ID, "tasks");
set(DATATABLES_SELECTOR, ".dt-tasks" );
set(initSelector(DATATABLES), tasksTableInit());
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}");
set(initID(DATATABLES, "tasks"), tasksTableInit());
set(postInitID(DATATABLES, "tasks"), jobsPostTableInit());
setTableStyles(html, "tasks");
}
内容来源于网络,如有侵权,请联系作者删除!