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

x33g5p2x  于2022-01-24 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(171)

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

Node.fireOwnPropertyChange介绍

[英]Fires info about change of own property.
[中]激发有关更改自己财产的信息。

代码示例

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

  1. /** Fire a change event for {@link #PROP_ICON}.
  2. */
  3. protected final void fireIconChange() {
  4. fireOwnPropertyChange(PROP_ICON, null, null);
  5. }

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

  1. /** Fires a (Bean) property change event (for {@link #PROP_PROPERTY_SETS}).
  2. * @param o the old set
  3. * @param n the new set
  4. */
  5. protected final void firePropertySetsChange(PropertySet[] o, PropertySet[] n) {
  6. fireOwnPropertyChange(PROP_PROPERTY_SETS, o, n);
  7. }

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

  1. /** Allow subclasses that override the getName method to fire
  2. * the changes of the name by itself. Please notice that default
  3. * implementation of setName will fire the change by itself.
  4. */
  5. protected final void fireNameChange(String o, String n) {
  6. fireOwnPropertyChange(PROP_NAME, o, n);
  7. }

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

  1. /** Fires info about change of parent node.
  2. * @param o old node
  3. * @param n new parent
  4. */
  5. final void fireParentNodeChange(Node o, Node n) {
  6. fireOwnPropertyChange(PROP_PARENT_NODE, o, n);
  7. }

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

  1. /** Allow subclasses that override the getShortDescription method to fire
  2. * the changes of the description by itself. Please notice that default
  3. * implementation of setShortDescription will fire the change by itself.
  4. */
  5. protected final void fireShortDescriptionChange(String o, String n) {
  6. fireOwnPropertyChange(PROP_SHORT_DESCRIPTION, o, n);
  7. }

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

  1. /** Fire a change event for {@link #PROP_OPENED_ICON}.
  2. */
  3. protected final void fireOpenedIconChange() {
  4. fireOwnPropertyChange(PROP_OPENED_ICON, null, null);
  5. }

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

  1. /** Allow subclasses that override the getDisplayName method to fire
  2. * the changes of the name by itself. Please notice that default
  3. * implementation of setDisplayName will fire the change by itself.
  4. */
  5. protected final void fireDisplayNameChange(String o, String n) {
  6. fireOwnPropertyChange(PROP_DISPLAY_NAME, o, n);
  7. }

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

  1. /** Fires a change event for {@link #PROP_COOKIE}.
  2. * The old and new values are set to null.
  3. */
  4. protected final void fireCookieChange() {
  5. Lookup l = findDelegatingLookup();
  6. if (l instanceof NodeLookup) {
  7. ((NodeLookup) l).updateLookupAsCookiesAreChanged(null);
  8. }
  9. fireOwnPropertyChange(PROP_COOKIE, null, null);
  10. }

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

  1. fireOwnPropertyChange(PROP_LEAF, wasLeaf, hierarchy == Children.LEAF);

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

  1. /** Allow subclasses that override the getDisplayName method to fire
  2. * the changes of the name by itself. Please notice that default
  3. * implementation of setDisplayName will fire the change by itself.
  4. */
  5. protected final void fireDisplayNameChange (String o, String n) {
  6. fireOwnPropertyChange (PROP_DISPLAY_NAME, o, n);
  7. }

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

  1. /** Fire a change event for {@link #PROP_ICON}.
  2. */
  3. protected final void fireIconChange () {
  4. fireOwnPropertyChange (PROP_ICON, null, null);
  5. }

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

  1. /** Allow subclasses that override the getName method to fire
  2. * the changes of the name by itself. Please notice that default
  3. * implementation of setName will fire the change by itself.
  4. */
  5. protected final void fireNameChange (String o, String n) {
  6. fireOwnPropertyChange (PROP_NAME, o, n);
  7. }

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

  1. /** Allow subclasses that override the getName method to fire
  2. * the changes of the name by itself. Please notice that default
  3. * implementation of setName will fire the change by itself.
  4. */
  5. protected final void fireNameChange (String o, String n) {
  6. fireOwnPropertyChange (PROP_NAME, o, n);
  7. }

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

  1. /** Allow subclasses that override the getShortDescription method to fire
  2. * the changes of the description by itself. Please notice that default
  3. * implementation of setShortDescription will fire the change by itself.
  4. */
  5. protected final void fireShortDescriptionChange (String o, String n) {
  6. fireOwnPropertyChange (PROP_SHORT_DESCRIPTION, o, n);
  7. }

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

  1. /** Fire a change event for {@link #PROP_OPENED_ICON}.
  2. */
  3. protected final void fireOpenedIconChange () {
  4. fireOwnPropertyChange (PROP_OPENED_ICON, null, null);
  5. }

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

  1. /** Fire a change event for {@link #PROP_ICON}.
  2. */
  3. protected final void fireIconChange () {
  4. fireOwnPropertyChange (PROP_ICON, null, null);
  5. }

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

  1. /** Fires info about change of parent node.
  2. * @param o old node
  3. * @param n new parent
  4. */
  5. final void fireParentNodeChange (Node o, Node n) {
  6. fireOwnPropertyChange (PROP_PARENT_NODE, o, n);
  7. }

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

  1. /** Fires a (Bean) property change event (for {@link #PROP_PROPERTY_SETS}).
  2. * @param o the old set
  3. * @param n the new set
  4. */
  5. protected final void firePropertySetsChange (PropertySet[] o, PropertySet[] n) {
  6. fireOwnPropertyChange (PROP_PROPERTY_SETS, o, n);
  7. }

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

  1. /** Fires a (Bean) property change event (for {@link #PROP_PROPERTY_SETS}).
  2. * @param o the old set
  3. * @param n the new set
  4. */
  5. protected final void firePropertySetsChange (PropertySet[] o, PropertySet[] n) {
  6. fireOwnPropertyChange (PROP_PROPERTY_SETS, o, n);
  7. }

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

  1. /** Fires a change event for {@link #PROP_COOKIE}.
  2. * The old and new values are set to null.
  3. */
  4. protected final void fireCookieChange () {
  5. Lookup l = findDelegatingLookup ();
  6. if (l instanceof NodeLookup) {
  7. ((NodeLookup)l).updateLookupAsCookiesAreChanged (null);
  8. }
  9. fireOwnPropertyChange (PROP_COOKIE, null, null);
  10. }

相关文章