javax.swing.JSplitPane .
| Modifier and Type | Field and Description |
|---|---|
| private Color | |
| private SynthStyle | dividerStyle
Style for the divider. |
| private Set | managingFocusBackwardTraversalKeys
Hides javax. |
| private Set | managingFocusForwardTraversalKeys
Hides javax. |
| private SynthStyle | style
Style for the JSplitPane. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BasicSplitPaneDivider | createDefaultDivider()
Overrides javax. Creates the default divider. |
| protected Component | createDefaultNonContinuousLayoutDivider()
Overrides javax. Returns the default non continuous layout divider, which is an
instance of |
| public static ComponentUI | Returns: the UI objectcomponent to create UI object for x)Hides javax. Creates a new SynthSplitPaneUI instance |
| public void | finishedPaintingChildren(JSplitPane jc, Graphics g)
Overrides javax. Called when the specified split pane has finished painting its children. |
| private int | |
| public SynthContext | getContext(JComponent c)
Implements javax. Returns the Context for the specified component. |
| private SynthContext | |
| pack-priv SynthContext | |
| private SynthContext | |
| protected void | installDefaults()
Overrides javax. Installs the UI defaults. |
| protected void | installListeners()
Overrides javax. Installs the event listeners for the UI. |
| public void | paint(Graphics
the g, JComponent Graphics object used for paintingthe component being painted c)Overrides javax. Paints the specified component according to the Look and Feel. |
| protected void | paint(SynthContext
context for the component being painted context, Graphics the g)Graphics object used for paintingPaints the specified component. |
| public void | paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Implements javax. Paints the border. |
| private void | |
| public void | propertyChange(PropertyChangeEvent e)
Implements java. This method gets called when a bound property is changed. |
| private void | |
| protected void | uninstallDefaults()
Overrides javax. Uninstalls the UI defaults. |
| protected void | uninstallListeners()
Overrides javax. Uninstalls the event listeners from the UI. |
| public void | update(Graphics
the g, JComponent Graphics object used for paintingthe component being painted c)Overrides javax. Notifies this UI delegate to repaint the specified component. |
| private void |
| dividerDraggingColor | back to summary |
|---|---|
| private Color dividerDraggingColor Hides javax. | |
| dividerStyle | back to summary |
|---|---|
| private SynthStyle dividerStyle Style for the divider. | |
| managingFocusBackwardTraversalKeys | back to summary |
|---|---|
| private Set<KeyStroke> managingFocusBackwardTraversalKeys Hides javax. Keys to use for backward focus traversal when the JComponent is managing focus. | |
| managingFocusForwardTraversalKeys | back to summary |
|---|---|
| private Set<KeyStroke> managingFocusForwardTraversalKeys Hides javax. Keys to use for forward focus traversal when the JComponent is managing focus. | |
| style | back to summary |
|---|---|
| private SynthStyle style Style for the JSplitPane. | |
| SynthSplitPaneUI | back to summary |
|---|---|
| public SynthSplitPaneUI() Constructs a | |
| createDefaultDivider | back to summary |
|---|---|
| public BasicSplitPaneDivider createDefaultDivider() Overrides javax. Creates the default divider.
| |
| createDefaultNonContinuousLayoutDivider | back to summary |
|---|---|
| protected Component createDefaultNonContinuousLayoutDivider() Overrides javax. Doc from javax. Returns the default non continuous layout divider, which is an
instance of
| |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent x) Hides javax. Creates a new SynthSplitPaneUI instance
| |
| finishedPaintingChildren | back to summary |
|---|---|
| public void finishedPaintingChildren(JSplitPane jc, Graphics g) Overrides javax. Doc from javax. Called when the specified split pane has finished painting its children.
| |
| getComponentState | back to summary |
|---|---|
| private int getComponentState(JComponent c, Region subregion) | |
| getContext | back to summary |
|---|---|
| public SynthContext getContext(JComponent c) Implements javax. Doc from javax. Returns the Context for the specified component.
| |
| getContext | back to summary |
|---|---|
| private SynthContext getContext(JComponent c, int state) | |
| getContext | back to summary |
|---|---|
| pack-priv SynthContext getContext(JComponent c, Region region) | |
| getContext | back to summary |
|---|---|
| private SynthContext getContext(JComponent c, Region region, int state) | |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Overrides javax. Installs the UI defaults.
| |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Overrides javax. Installs the event listeners for the UI.
| |
| paint | back to summary |
|---|---|
| public void paint(Graphics g, JComponent c) Overrides javax. 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 | back to summary |
|---|---|
| protected void paint(SynthContext context, Graphics g) Paints the specified component. This implementation does nothing.
| |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) Implements javax. Doc from javax. Paints the border.
| |
| paintDragDivider | back to summary |
|---|---|
| private void paintDragDivider(Graphics g, int x, int y, int w, int h) | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent e) Implements java. Doc from java. This method gets called when a bound property is changed.
| |
| setDividerDraggingColor | back to summary |
|---|---|
| private void setDividerDraggingColor(Graphics g, int loc) | |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults() Overrides javax. Uninstalls the UI defaults.
| |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Overrides javax. Uninstalls the event listeners from the UI.
| |
| update | back to summary |
|---|---|
| public void update(Graphics g, JComponent c) Overrides javax. Notifies this UI delegate to repaint the specified component.
This method paints the component background, then calls
the In general, this method does not need to be overridden by subclasses.
All Look and Feel rendering code should reside in the
| |
| updateStyle | back to summary |
|---|---|
| private void updateStyle(JSplitPane splitPane) | |