/** Sets the property displayer we are using to display the property, * detaching listeners, etc */ private void setDisplayer (PropertyDisplayer nue) { if (displayer != null) { detachFromDisplayer(displayer); } displayer = nue; if (nue != null) { attachToDisplayer(displayer); } }
/** Sets the property displayer we are using to display the property, * detaching listeners, etc */ private void setDisplayer(PropertyDisplayer nue) { if (displayer != null) { detachFromDisplayer(displayer); } displayer = nue; if (nue != null) { attachToDisplayer(displayer); } }
/** Sets the property displayer we are using to display the property, * detaching listeners, etc */ private void setDisplayer (PropertyDisplayer nue) { if (displayer != null) { detachFromDisplayer(displayer); } displayer = nue; if (nue != null) { attachToDisplayer(displayer); } }
/** Overridden to dispose the component that actually displays the property * and any state information associated with it */ public void removeNotify() { super.removeNotify(); detachFromModel(); if ((displayer != null) && (!(displayer instanceof RendererPropertyDisplayer))) { detachFromDisplayer(displayer); displayer = null; } if (null != inner && !(inner instanceof RendererPropertyDisplayer)) { //Renderers hold no references the property panel doesn't, so avoid //creating a new one for performance reasons in TTV - PropertyPanel //will be repeatedly added to and removed from a CellRendererPane remove(inner); inner = null; } }
/** Overridden to dispose the component that actually displays the property * and any state information associated with it */ public void removeNotify() { super.removeNotify(); detachFromModel(); if (displayer != null && (!(displayer instanceof RendererPropertyDisplayer))) { detachFromDisplayer(displayer); displayer = null; } if (!(inner instanceof RendererPropertyDisplayer)) { //Renderers hold no references the property panel doesn't, so avoid //creating a new one for performance reasons in TTV - PropertyPanel //will be repeatedly added to and removed from a CellRendererPane remove(inner); inner = null; } } /*
/** Overridden to dispose the component that actually displays the property * and any state information associated with it */ public void removeNotify() { super.removeNotify(); detachFromModel(); if (displayer != null && (!(displayer instanceof RendererPropertyDisplayer))) { detachFromDisplayer(displayer); displayer = null; } if (!(inner instanceof RendererPropertyDisplayer)) { //Renderers hold no references the property panel doesn't, so avoid //creating a new one for performance reasons in TTV - PropertyPanel //will be repeatedly added to and removed from a CellRendererPane remove(inner); inner = null; } } /*