Exemplo n.º 1
0
  /** 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();
  }
Exemplo n.º 2
0
 /**
  * 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);
 }
Exemplo n.º 3
0
 /** Uninstalls the event listeners from the UI. */
 @Override
 protected void uninstallListeners() {
   super.uninstallListeners();
   splitPane.removePropertyChangeListener(this);
 }
Exemplo n.º 4
0
 /** Installs the event listeners for the UI. */
 @Override
 protected void installListeners() {
   super.installListeners();
   splitPane.addPropertyChangeListener(this);
 }