/** 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); }
/** Obtains a Lookup representing additional content of this Node. * If the lookup was provided in a constructor, it is returned here, * if not, a lookup based on the content of <link>getCookie</link> * method is provided. * * @return lookup for this node * @since 3.11 */ public final Lookup getLookup() { synchronized (listeners) { Lookup l = internalLookup(true); if (l != null) { return l; } l = findDelegatingLookup(); if (l != null) { return l; } // create new lookup and use it NodeLookup nl = new NodeLookup(this); registerDelegatingLookup(nl); return nl; } }
/** 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); }
/** 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); }
/** Obtains a Lookup represeting additional content of this Node. * If the lookup was provided in a constructor, it is returned here, * if not, a lookup based on the content of <link>getCookie</link> * method is provided. * * @return lookup for this node * @since 3.11 */ public final Lookup getLookup () { synchronized (listeners) { Lookup l = internalLookup (true); if (l != null) { return l; } l = findDelegatingLookup (); if (l != null) { return l; } // create new lookup and use it NodeLookup nl = new NodeLookup (this); registerDelegatingLookup (nl); return nl; } }
/** Obtains a Lookup represeting additional content of this Node. * If the lookup was provided in a constructor, it is returned here, * if not, a lookup based on the content of <link>getCookie</link> * method is provided. * * @return lookup for this node * @since 3.11 */ public final Lookup getLookup () { synchronized (listeners) { Lookup l = internalLookup (true); if (l != null) { return l; } l = findDelegatingLookup (); if (l != null) { return l; } // create new lookup and use it NodeLookup nl = new NodeLookup (this); registerDelegatingLookup (nl); return nl; } }