/** * If true, enables the animation when pane is collapsed/expanded. If false, * animation is turned off. * * <p> * When animated, the <code>JXCollapsiblePane</code> will progressively * reduce (when collapsing) or enlarge (when expanding) the height of its * content area until it becomes 0 or until it reaches the preferred height of * the components it contains. The transparency of the content area will also * change during the animation. * * <p> * If not animated, the <code>JXCollapsiblePane</code> will simply hide * (collapsing) or show (expanding) its content area. * * @param animated * @javabean.property bound="true" preferred="true" */ public void setAnimated(boolean animated) { if (animated != useAnimation) { useAnimation = animated; firePropertyChange("animated", !useAnimation, useAnimation); } }
firePropertyChange("animated", !useAnimation, useAnimation);
firePropertyChange("animated", !useAnimation, useAnimation);
firePropertyChange("animated", !useAnimation, useAnimation);
firePropertyChange("animated", !useAnimation, useAnimation);
firePropertyChange("direction", oldValue, getDirection());
firePropertyChange("direction", oldValue, getDirection());
firePropertyChange("direction", oldValue, getDirection());
firePropertyChange("direction", oldValue, getDirection());
firePropertyChange("direction", oldValue, getDirection());
wrapper.collapsedState = false; validate(); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, false); return; } else { wrapper.collapsedState = true; wrapper.getView().setVisible(false); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, true);
wrapper.collapsedState = false; validate(); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, false); return; } else { wrapper.collapsedState = true; wrapper.getView().setVisible(false); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, true);
wrapper.collapsedState = false; validate(); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, false); return; } else { wrapper.collapsedState = true; wrapper.getView().setVisible(false); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, true);
wrapper.collapsedState = false; validate(); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, false); return; } else { wrapper.collapsedState = true; wrapper.getView().setVisible(false); JXCollapsiblePane.this.firePropertyChange("collapsed", collapseFiringState, true);
firePropertyChange("collapsed", !collapsed, collapsed);
repaint(); firePropertyChange("collapsed", oldValue, isCollapsed());
repaint(); firePropertyChange("collapsed", oldValue, isCollapsed());
repaint(); firePropertyChange("collapsed", oldValue, isCollapsed());
repaint(); firePropertyChange("collapsed", oldValue, isCollapsed());