/** * Returns a boolean indicating whether or not this column is visible. * The bare property value is constrained by this column's hideable setting, * that is a not hideable column is always visible, irrespective of the * property setting. * <p> * The default is <code>true</code>. * * @return boolean indicating whether or not this view column is * visible in the table * @see #setVisible */ public boolean isVisible() { if (!isHideable()) return true; return visible; }
/** * Returns a boolean indicating whether or not this column is visible. * The bare property value is constrained by this column's hideable setting, * that is a not hideable column is always visible, irrespective of the * property setting. * <p> * The default is <code>true</code>. * * @return boolean indicating whether or not this view column is * visible in the table * @see #setVisible */ public boolean isVisible() { if (!isHideable()) return true; return visible; }
/** * Returns a boolean indicating whether or not this column is visible. * The bare property value is constrained by this column's hideable setting, * that is a not hideable column is always visible, irrespective of the * property setting. * <p> * The default is <code>true</code>. * * @return boolean indicating whether or not this view column is * visible in the table * @see #setVisible */ public boolean isVisible() { if (!isHideable()) return true; return visible; }
/** * Returns a boolean indicating whether or not this column is visible. * The bare property value is constrained by this column's hideable setting, * that is a not hideable column is always visible, irrespective of the * property setting. * <p> * The default is <code>true</code>. * * @return boolean indicating whether or not this view column is * visible in the table * @see #setVisible */ public boolean isVisible() { if (!isHideable()) return true; return visible; }
/** * Sets the hideable property. This property controls whether the column can * be hidden. This is a bound property. If the column's visibilty is affected, * listeners are notified about that change as well.. * <p> * * The default value is true. * * @param hideable */ public void setHideable(boolean hideable) { boolean old = isHideable(); boolean oldVisible = isVisible(); this.hideable = hideable; firePropertyChange("visible", oldVisible, isVisible()); firePropertyChange("hideable", old, isHideable()); }
/** * Sets the hideable property. This property controls whether the column can * be hidden. This is a bound property. If the column's visibilty is affected, * listeners are notified about that change as well.. * <p> * * The default value is true. * * @param hideable */ public void setHideable(boolean hideable) { boolean old = isHideable(); boolean oldVisible = isVisible(); this.hideable = hideable; firePropertyChange("visible", oldVisible, isVisible()); firePropertyChange("hideable", old, isHideable()); }
/** * Sets the hideable property. This property controls whether the column can * be hidden. This is a bound property. If the column's visibilty is affected, * listeners are notified about that change as well.. * <p> * * The default value is true. * * @param hideable */ public void setHideable(boolean hideable) { boolean old = isHideable(); boolean oldVisible = isVisible(); this.hideable = hideable; firePropertyChange("visible", oldVisible, isVisible()); firePropertyChange("hideable", old, isHideable()); }
/** * Sets the hideable property. This property controls whether the column can * be hidden. This is a bound property. If the column's visibilty is affected, * listeners are notified about that change as well.. * <p> * * The default value is true. * * @param hideable */ public void setHideable(boolean hideable) { boolean old = isHideable(); boolean oldVisible = isVisible(); this.hideable = hideable; firePropertyChange("visible", oldVisible, isVisible()); firePropertyChange("hideable", old, isHideable()); }