com.google.gwt.user.client.ui.Panel.onEnsureDebugId()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(140)

本文整理了Java中com.google.gwt.user.client.ui.Panel.onEnsureDebugId()方法的一些代码示例,展示了Panel.onEnsureDebugId()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Panel.onEnsureDebugId()方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.Panel
类名称:Panel
方法名:onEnsureDebugId

Panel.onEnsureDebugId介绍

暂无

代码示例

代码示例来源:origin: com.google.gwt/gwt-servlet

/**
 * <b>Affected Elements:</b>
 * <ul>
 * <li>-splitter = the container containing the splitter element.</li>
 * </ul>
 * 
 * @see UIObject#onEnsureDebugId(String)
 */
@Override
protected void onEnsureDebugId(String baseID) {
 super.onEnsureDebugId(baseID);
 ensureDebugId(splitElem, baseID, "splitter");
}

代码示例来源:origin: com.google.gwt/gwt-servlet

/**
 * <b>Affected Elements:</b>
 * <ul>
 * <li>-(row)#-(cell)# = the cell at the given row and cell index.</li>
 * </ul>
 * 
 * @see UIObject#onEnsureDebugId(String)
 */
@Override
protected void onEnsureDebugId(String baseID) {
 super.onEnsureDebugId(baseID);
 int rowCount = getRowCount();
 for (int row = 0; row < rowCount; row++) {
  int cellCount = getCellCount(row);
  for (int cell = 0; cell < cellCount; cell++) {
   Element cellElem = cellFormatter.getRawElement(row, cell);
   ensureDebugId(cellElem, baseID, row + "-" + cell);
  }
 }
}

代码示例来源:origin: net.wetheinter/gwt-user

/**
 * <b>Affected Elements:</b>
 * <ul>
 * <li>-splitter = the container containing the splitter element.</li>
 * </ul>
 * 
 * @see UIObject#onEnsureDebugId(String)
 */
@Override
protected void onEnsureDebugId(String baseID) {
 super.onEnsureDebugId(baseID);
 ensureDebugId(splitElem, baseID, "splitter");
}

代码示例来源:origin: com.vaadin.external.gwt/gwt-user

/**
 * <b>Affected Elements:</b>
 * <ul>
 * <li>-splitter = the container containing the splitter element.</li>
 * </ul>
 * 
 * @see UIObject#onEnsureDebugId(String)
 */
@Override
protected void onEnsureDebugId(String baseID) {
 super.onEnsureDebugId(baseID);
 ensureDebugId(splitElem, baseID, "splitter");
}

代码示例来源:origin: com.vaadin.external.gwt/gwt-user

/**
 * <b>Affected Elements:</b>
 * <ul>
 * <li>-(row)#-(cell)# = the cell at the given row and cell index.</li>
 * </ul>
 * 
 * @see UIObject#onEnsureDebugId(String)
 */
@Override
protected void onEnsureDebugId(String baseID) {
 super.onEnsureDebugId(baseID);
 int rowCount = getRowCount();
 for (int row = 0; row < rowCount; row++) {
  int cellCount = getCellCount(row);
  for (int cell = 0; cell < cellCount; cell++) {
   Element cellElem = cellFormatter.getRawElement(row, cell);
   ensureDebugId(cellElem, baseID, row + "-" + cell);
  }
 }
}

代码示例来源:origin: net.wetheinter/gwt-user

/**
 * <b>Affected Elements:</b>
 * <ul>
 * <li>-(row)#-(cell)# = the cell at the given row and cell index.</li>
 * </ul>
 * 
 * @see UIObject#onEnsureDebugId(String)
 */
@Override
protected void onEnsureDebugId(String baseID) {
 super.onEnsureDebugId(baseID);
 int rowCount = getRowCount();
 for (int row = 0; row < rowCount; row++) {
  int cellCount = getCellCount(row);
  for (int cell = 0; cell < cellCount; cell++) {
   Element cellElem = cellFormatter.getRawElement(row, cell);
   ensureDebugId(cellElem, baseID, row + "-" + cell);
  }
 }
}

相关文章