本文整理了Java中org.openide.nodes.Node.fireOwnPropertyChange()
方法的一些代码示例,展示了Node.fireOwnPropertyChange()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.fireOwnPropertyChange()
方法的具体详情如下:
包路径:org.openide.nodes.Node
类名称:Node
方法名:fireOwnPropertyChange
[英]Fires info about change of own property.
[中]激发有关更改自己财产的信息。
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Fire a change event for {@link #PROP_ICON}.
*/
protected final void fireIconChange() {
fireOwnPropertyChange(PROP_ICON, null, null);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Fires a (Bean) property change event (for {@link #PROP_PROPERTY_SETS}).
* @param o the old set
* @param n the new set
*/
protected final void firePropertySetsChange(PropertySet[] o, PropertySet[] n) {
fireOwnPropertyChange(PROP_PROPERTY_SETS, o, n);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Allow subclasses that override the getName method to fire
* the changes of the name by itself. Please notice that default
* implementation of setName will fire the change by itself.
*/
protected final void fireNameChange(String o, String n) {
fireOwnPropertyChange(PROP_NAME, o, n);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Fires info about change of parent node.
* @param o old node
* @param n new parent
*/
final void fireParentNodeChange(Node o, Node n) {
fireOwnPropertyChange(PROP_PARENT_NODE, o, n);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Allow subclasses that override the getShortDescription method to fire
* the changes of the description by itself. Please notice that default
* implementation of setShortDescription will fire the change by itself.
*/
protected final void fireShortDescriptionChange(String o, String n) {
fireOwnPropertyChange(PROP_SHORT_DESCRIPTION, o, n);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Fire a change event for {@link #PROP_OPENED_ICON}.
*/
protected final void fireOpenedIconChange() {
fireOwnPropertyChange(PROP_OPENED_ICON, null, null);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Allow subclasses that override the getDisplayName method to fire
* the changes of the name by itself. Please notice that default
* implementation of setDisplayName will fire the change by itself.
*/
protected final void fireDisplayNameChange(String o, String n) {
fireOwnPropertyChange(PROP_DISPLAY_NAME, o, n);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Fires a change event for {@link #PROP_COOKIE}.
* The old and new values are set to null.
*/
protected final void fireCookieChange() {
Lookup l = findDelegatingLookup();
if (l instanceof NodeLookup) {
((NodeLookup) l).updateLookupAsCookiesAreChanged(null);
}
fireOwnPropertyChange(PROP_COOKIE, null, null);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
fireOwnPropertyChange(PROP_LEAF, wasLeaf, hierarchy == Children.LEAF);
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Allow subclasses that override the getDisplayName method to fire
* the changes of the name by itself. Please notice that default
* implementation of setDisplayName will fire the change by itself.
*/
protected final void fireDisplayNameChange (String o, String n) {
fireOwnPropertyChange (PROP_DISPLAY_NAME, o, n);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Fire a change event for {@link #PROP_ICON}.
*/
protected final void fireIconChange () {
fireOwnPropertyChange (PROP_ICON, null, null);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Allow subclasses that override the getName method to fire
* the changes of the name by itself. Please notice that default
* implementation of setName will fire the change by itself.
*/
protected final void fireNameChange (String o, String n) {
fireOwnPropertyChange (PROP_NAME, o, n);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Allow subclasses that override the getName method to fire
* the changes of the name by itself. Please notice that default
* implementation of setName will fire the change by itself.
*/
protected final void fireNameChange (String o, String n) {
fireOwnPropertyChange (PROP_NAME, o, n);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Allow subclasses that override the getShortDescription method to fire
* the changes of the description by itself. Please notice that default
* implementation of setShortDescription will fire the change by itself.
*/
protected final void fireShortDescriptionChange (String o, String n) {
fireOwnPropertyChange (PROP_SHORT_DESCRIPTION, o, n);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Fire a change event for {@link #PROP_OPENED_ICON}.
*/
protected final void fireOpenedIconChange () {
fireOwnPropertyChange (PROP_OPENED_ICON, null, null);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Fire a change event for {@link #PROP_ICON}.
*/
protected final void fireIconChange () {
fireOwnPropertyChange (PROP_ICON, null, null);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Fires info about change of parent node.
* @param o old node
* @param n new parent
*/
final void fireParentNodeChange (Node o, Node n) {
fireOwnPropertyChange (PROP_PARENT_NODE, o, n);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Fires a (Bean) property change event (for {@link #PROP_PROPERTY_SETS}).
* @param o the old set
* @param n the new set
*/
protected final void firePropertySetsChange (PropertySet[] o, PropertySet[] n) {
fireOwnPropertyChange (PROP_PROPERTY_SETS, o, n);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Fires a (Bean) property change event (for {@link #PROP_PROPERTY_SETS}).
* @param o the old set
* @param n the new set
*/
protected final void firePropertySetsChange (PropertySet[] o, PropertySet[] n) {
fireOwnPropertyChange (PROP_PROPERTY_SETS, o, n);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Fires a change event for {@link #PROP_COOKIE}.
* The old and new values are set to null.
*/
protected final void fireCookieChange () {
Lookup l = findDelegatingLookup ();
if (l instanceof NodeLookup) {
((NodeLookup)l).updateLookupAsCookiesAreChanged (null);
}
fireOwnPropertyChange (PROP_COOKIE, null, null);
}
内容来源于网络,如有侵权,请联系作者删除!