org.openide.nodes.AbstractNode.setSheetImpl()方法的使用及代码示例

x33g5p2x  于11个月前 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(26)

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

AbstractNode.setSheetImpl介绍

暂无

代码示例

代码示例来源:origin: org.netbeans.api/org-openide-nodes

/** Set the set of properties.
* A listener is attached to the provided sheet
* and any change of the sheet is propagated to the node by
* firing a {@link #PROP_PROPERTY_SETS} change event.
*
* @param s the sheet to use
*/
protected final synchronized void setSheet(Sheet s) {
  setSheetImpl(s);
  firePropertySetsChange(null, null);
}

代码示例来源:origin: org.netbeans.api/org-openide-nodes

/** Get the current property sheet. If the sheet has been
 * previously set by a call to {@link #setSheet}, that sheet
 * is returned. Otherwise {@link #createSheet} is called.
 *
 * @return the sheet (never <code>null</code>)
 */
protected final synchronized Sheet getSheet() {
  if (sheet != null) {
    return sheet;
  }
  Sheet s = createSheet();
  if (s == null) {
    // #150503
    throw new IllegalStateException("createSheet returns null in " + this.getClass().getName()); // NOI18N
  }
  setSheetImpl(s);
  return s;
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

/** Set the set of properties.
* A listener is attached to the provided sheet
* and any change of the sheet is propagated to the node by
* firing a {@link #PROP_PROPERTY_SETS} change event.
*
* @param s the sheet to use
*/
protected final synchronized void setSheet (Sheet s) {
  setSheetImpl(s);
  firePropertySetsChange (null, null);
}

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

/** Get the current property sheet. If the sheet has been
 * previously set by a call to {@link #setSheet}, that sheet
 * is returned. Otherwise {@link #createSheet} is called.
 *
 * @return the sheet (never <code>null</code>)
 */
protected final synchronized Sheet getSheet () {
  if (sheet != null)
    return sheet;
  setSheetImpl(createSheet());
  return sheet;
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

/** Get the current property sheet. If the sheet has been
 * previously set by a call to {@link #setSheet}, that sheet
 * is returned. Otherwise {@link #createSheet} is called.
 *
 * @return the sheet (never <code>null</code>)
 */
protected final synchronized Sheet getSheet () {
  if (sheet != null)
    return sheet;
  setSheetImpl(createSheet());
  return sheet;
}

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

/** Set the set of properties.
* A listener is attached to the provided sheet
* and any change of the sheet is propagated to the node by
* firing a {@link #PROP_PROPERTY_SETS} change event.
*
* @param s the sheet to use
*/
protected final synchronized void setSheet (Sheet s) {
  setSheetImpl(s);
  firePropertySetsChange (null, null);
}

相关文章

最新文章

更多