本文整理了Java中org.openide.nodes.AbstractNode.setSheetImpl()
方法的一些代码示例,展示了AbstractNode.setSheetImpl()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractNode.setSheetImpl()
方法的具体详情如下:
包路径:org.openide.nodes.AbstractNode
类名称: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);
}
内容来源于网络,如有侵权,请联系作者删除!