public final void setTableUI(boolean val) { if (val != tableUI) { tableUI = val; replaceInner(); } }
public final void setTableUI(boolean val) { if (val != tableUI) { tableUI = val; replaceInner(); } }
public final void setTableUI(boolean val) { if (val != tableUI) { tableUI = val; replaceInner(); } }
public void addNotify() { try { if (inner == null) { replaceInner(); } } finally { super.addNotify(); } }
public void addNotify() { try { if (inner == null) { replaceInner(); } } finally { super.addNotify(); } }
public final void refresh() { if (isDisplayable()) { replaceInner(); } }
public void addNotify() { try { if (inner == null) { replaceInner(); } } finally { super.addNotify(); } }
public final void refresh() { if (isDisplayable()) { replaceInner(); } }
public final void refresh() { if (isDisplayable()) { replaceInner(); } }
public final void setUseLabels(boolean useLabels) { if (useLabels != this.useLabels) { boolean needChange = false; if (isShowing()) { InplaceEditor innermost = PropUtils.findInnermostInplaceEditor(inplace); needChange = (innermost instanceof RadioInplaceEditor || innermost instanceof JCheckBox); } this.useLabels = useLabels; if (needChange && (inner != null)) { replaceInner(); } } }
public final void setShowCustomEditorButton(boolean val) { //If the property descriptor explicitly says it does not //want a custom editor button, this overrides anything set on //the PropertyPanel. if (getProperty() != null) { Property p = getProperty(); Boolean explicit = (Boolean) p.getValue("suppressCustomEditor"); //NOI18N if (explicit != null) { val = explicit.booleanValue(); System.err.println("Found explicit value: " + val); } } if (showCustomEditorButton != val) { showCustomEditorButton=val; replaceInner(); } }
public final void setUseLabels(boolean useLabels) { if (useLabels != this.useLabels) { boolean needChange = false; if (isShowing()) { InplaceEditor innermost = PropUtils.findInnermostInplaceEditor( inplace); needChange = (innermost instanceof RadioInplaceEditor || innermost instanceof JCheckBox); } this.useLabels = useLabels; if (needChange && inner != null) { replaceInner(); } } }
public final void setUseLabels(boolean useLabels) { if (useLabels != this.useLabels) { boolean needChange = false; if (isShowing()) { InplaceEditor innermost = PropUtils.findInnermostInplaceEditor( inplace); needChange = (innermost instanceof RadioInplaceEditor || innermost instanceof JCheckBox); } this.useLabels = useLabels; if (needChange && inner != null) { replaceInner(); } } }
public final void setShowCustomEditorButton(boolean val) { //If the property descriptor explicitly says it does not //want a custom editor button, this overrides anything set on //the PropertyPanel. if (getProperty() != null) { Property p = getProperty(); Boolean explicit = (Boolean) p.getValue("suppressCustomEditor"); //NOI18N if (explicit != null) { val = explicit.booleanValue(); System.err.println("Found explicit value: " + val); } } if (showCustomEditorButton != val) { showCustomEditorButton = val; replaceInner(); } }
public final void setShowCustomEditorButton(boolean val) { //If the property descriptor explicitly says it does not //want a custom editor button, this overrides anything set on //the PropertyPanel. if (getProperty() != null) { Property p = getProperty(); Boolean explicit = (Boolean) p.getValue("suppressCustomEditor"); //NOI18N if (explicit != null) { val = explicit.booleanValue(); System.err.println("Found explicit value: " + val); } } if (showCustomEditorButton != val) { showCustomEditorButton=val; replaceInner(); } }
public final void setRadioButtonMax(int max) { if (max != radioButtonMax) { int old = radioButtonMax; boolean needChange = false; if (inplace != null) { InplaceEditor innermost = PropUtils.findInnermostInplaceEditor(inplace); if (innermost instanceof JComboBox || innermost instanceof RadioInplaceEditor) { PropertyEditor ped = innermost.getPropertyEditor(); int tagCount = (ped.getTags() == null) ? (-1) : ped.getTags().length; needChange = (old <= tagCount) != (max <= tagCount); } } radioButtonMax = max; if (needChange && (inner != null)) { replaceInner(); firePropertyChange("preferredSize", null, null); //NOI18N } } }
public final void setRadioButtonMax(int max) { if (max != radioButtonMax) { int old = radioButtonMax; boolean needChange=false; if (inplace != null) { InplaceEditor innermost = PropUtils.findInnermostInplaceEditor(inplace); if (innermost instanceof JComboBox || innermost instanceof RadioInplaceEditor) { PropertyEditor ped = innermost.getPropertyEditor(); int tagCount = ped.getTags() == null ? -1 : ped.getTags().length; needChange = old <= tagCount != max <= tagCount; } } radioButtonMax = max; if (needChange && inner != null) { replaceInner(); firePropertyChange("preferredSize", null, null); //NOI18N } } }
public final void setRadioButtonMax(int max) { if (max != radioButtonMax) { int old = radioButtonMax; boolean needChange=false; if (inplace != null) { InplaceEditor innermost = PropUtils.findInnermostInplaceEditor(inplace); if (innermost instanceof JComboBox || innermost instanceof RadioInplaceEditor) { PropertyEditor ped = innermost.getPropertyEditor(); int tagCount = ped.getTags() == null ? -1 : ped.getTags().length; needChange = old <= tagCount != max <= tagCount; } } radioButtonMax = max; if (needChange && inner != null) { replaceInner(); firePropertyChange("preferredSize", null, null); //NOI18N } } }