/** Uninstalls the UI defaults. */ @Override protected void uninstallDefaults() { SynthContext context = getContext(splitPane, ENABLED); style.uninstallDefaults(context); context.dispose(); style = null; context = getContext(splitPane, Region.SPLIT_PANE_DIVIDER, ENABLED); dividerStyle.uninstallDefaults(context); context.dispose(); dividerStyle = null; super.uninstallDefaults(); }
/** * Paints the specified component. This implementation does nothing. * * @param context context for the component being painted * @param g the {@code Graphics} object used for painting * @see #update(Graphics,JComponent) */ protected void paint(SynthContext context, Graphics g) { // This is done to update package private variables in // BasicSplitPaneUI super.paint(g, splitPane); }
/** Uninstalls the event listeners from the UI. */ @Override protected void uninstallListeners() { super.uninstallListeners(); splitPane.removePropertyChangeListener(this); }
/** Installs the event listeners for the UI. */ @Override protected void installListeners() { super.installListeners(); splitPane.addPropertyChangeListener(this); }