Save This Page
Home » openjdk-7 » javax » swing » plaf » synth » [javadoc | source]
javax.swing.plaf.synth
public class: SynthSplitPaneUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.SplitPaneUI
         javax.swing.plaf.basic.BasicSplitPaneUI
            javax.swing.plaf.synth.SynthSplitPaneUI

All Implemented Interfaces:
    SynthUI, PropertyChangeListener

Provides the Synth L&F UI delegate for javax.swing.JSplitPane .
Fields inherited from javax.swing.plaf.basic.BasicSplitPaneUI:
NON_CONTINUOUS_DIVIDER,  KEYBOARD_DIVIDER_MOVE_OFFSET,  splitPane,  layoutManager,  divider,  propertyChangeListener,  focusListener,  dividerSize,  nonContinuousLayoutDivider,  draggingHW,  beginDragDividerLocation,  upKey,  downKey,  leftKey,  rightKey,  homeKey,  endKey,  dividerResizeToggleKey,  keyboardUpLeftListener,  keyboardDownRightListener,  keyboardHomeListener,  keyboardEndListener,  keyboardResizeToggleListener,  painted,  ignoreDividerLocationChange
Method from javax.swing.plaf.synth.SynthSplitPaneUI Summary:
createDefaultDivider,   createDefaultNonContinuousLayoutDivider,   createUI,   finishedPaintingChildren,   getContext,   getContext,   installDefaults,   installListeners,   paint,   paint,   paintBorder,   propertyChange,   uninstallDefaults,   uninstallListeners,   update
Methods from javax.swing.plaf.basic.BasicSplitPaneUI:
createDefaultDivider,   createDefaultNonContinuousLayoutDivider,   createFocusListener,   createKeyboardDownRightListener,   createKeyboardEndListener,   createKeyboardHomeListener,   createKeyboardResizeToggleListener,   createKeyboardUpLeftListener,   createPropertyChangeListener,   createUI,   dragDividerTo,   finishDraggingTo,   finishedPaintingChildren,   getDivider,   getDividerBorderSize,   getDividerLocation,   getInputMap,   getInsets,   getKeyboardMoveIncrement,   getLastDragLocation,   getMaximumDividerLocation,   getMaximumSize,   getMinimumDividerLocation,   getMinimumSize,   getNonContinuousLayoutDivider,   getOrientation,   getPreferredSize,   getSplitPane,   installDefaults,   installKeyboardActions,   installListeners,   installUI,   isContinuousLayout,   loadActionMap,   paint,   resetLayoutManager,   resetToPreferredSizes,   setContinuousLayout,   setDividerLocation,   setKeepHidden,   setLastDragLocation,   setNonContinuousLayoutDivider,   setNonContinuousLayoutDivider,   setOrientation,   startDragging,   uninstallDefaults,   uninstallKeyboardActions,   uninstallListeners,   uninstallUI
Methods from javax.swing.plaf.SplitPaneUI:
finishedPaintingChildren,   getDividerLocation,   getMaximumDividerLocation,   getMinimumDividerLocation,   resetToPreferredSizes,   setDividerLocation
Methods from javax.swing.plaf.ComponentUI:
contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.synth.SynthSplitPaneUI Detail:
 public BasicSplitPaneDivider createDefaultDivider() 
    Creates the default divider.
 protected Component createDefaultNonContinuousLayoutDivider() 
 public static ComponentUI createUI(JComponent x) 
    Creates a new SynthSplitPaneUI instance
 public  void finishedPaintingChildren(JSplitPane jc,
    Graphics g) 
 public SynthContext getContext(JComponent c) 
 SynthContext getContext(JComponent c,
    Region region) 
 protected  void installDefaults() 
    Installs the UI defaults.
 protected  void installListeners() 
    Installs the event listeners for the UI.
 public  void paint(Graphics g,
    JComponent c) 
    Paints the specified component according to the Look and Feel.

    This method is not used by Synth Look and Feel. Painting is handled by the #paint(SynthContext,Graphics) method.

 protected  void paint(SynthContext context,
    Graphics g) 
    Paints the specified component. This implementation does nothing.
 public  void paintBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
 public  void propertyChange(PropertyChangeEvent e) 
 protected  void uninstallDefaults() 
    Uninstalls the UI defaults.
 protected  void uninstallListeners() 
    Uninstalls the event listeners from the UI.
 public  void update(Graphics g,
    JComponent c) 
    Notifies this UI delegate to repaint the specified component. This method paints the component background, then calls the #paint(SynthContext,Graphics) method.

    In general, this method does not need to be overridden by subclasses. All Look and Feel rendering code should reside in the {@code paint} method.