java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SliderUI
javax.swing.plaf.basic.BasicSliderUI
- Direct Known Subclasses:
- MetalSliderUI
- See Also:
- Source Code
public BasicSliderUI(JSlider b)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateContentRect()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateFocusRect()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateGeometry()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateLabelRect()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateThumbLocation()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateThumbSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateTickRect()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateTrackBuffer()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void calculateTrackRect()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected ChangeListener changeListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected ComponentListener componentListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle contentRect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected ChangeListener createChangeListener(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected ComponentListener createComponentListener(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected FocusListener createFocusListener(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected PropertyChangeListener createPropertyChangeListener(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected BasicSliderUI.ScrollListener createScrollListener(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected BasicSliderUI.TrackListener createTrackListener(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ComponentUI createUI(JComponent b)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean drawInverted()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets focusInsets
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected FocusListener focusListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle focusRect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color getFocusColor()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getHeightOfHighValueLabel()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getHeightOfLowValueLabel()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getHeightOfTallestLabel()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Component getHighestValueLabel()
- See Also:
JSlider.setLabelTable(java.util.Dictionary)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color getHighlightColor()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Component getLowestValueLabel()
- See Also:
JSlider.setLabelTable(java.util.Dictionary)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMaximumSize(JComponent c)
- See Also:
LayoutManager2.maximumLayoutSize(java.awt.Container)
, JComponent.getMaximumSize()
, ComponentUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMinimumHorizontalSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMinimumSize(JComponent c)
- See Also:
ComponentUI.getPreferredSize(javax.swing.JComponent)
, LayoutManager.minimumLayoutSize(java.awt.Container)
, JComponent.getMinimumSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMinimumVerticalSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getPreferredHorizontalSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getPreferredSize(JComponent c)
- See Also:
LayoutManager.preferredLayoutSize(java.awt.Container)
, JComponent.getPreferredSize()
, ComponentUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getPreferredVerticalSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color getShadowColor()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Dimension getThumbSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getTickLength()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getWidthOfHighValueLabel()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getWidthOfLowValueLabel()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getWidthOfWidestLabel()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets insetCache
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void installDefaults(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void installKeyboardActions(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void installListeners(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void installUI(JComponent c)
- See Also:
JComponent.updateUI()
, JComponent.setUI(javax.swing.plaf.ComponentUI)
, ComponentUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean isDragging()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle labelRect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean leftToRightCache
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int MAX_SCROLL
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int MIN_SCROLL
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int NEGATIVE_SCROLL
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paint(Graphics g,
JComponent c)
- See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paintFocus(Graphics g)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintHorizontalLabel(Graphics g,
int value,
Component label)
- See Also:
JSlider.setLabelTable(java.util.Dictionary)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paintLabels(Graphics g)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintMajorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintMajorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintMinorTickForHorizSlider(Graphics g,
Rectangle tickBounds,
int x)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintMinorTickForVertSlider(Graphics g,
Rectangle tickBounds,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paintThumb(Graphics g)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paintTicks(Graphics g)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paintTrack(Graphics g)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintVerticalLabel(Graphics g,
int value,
Component label)
- See Also:
JSlider.setLabelTable(java.util.Dictionary)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int POSITIVE_SCROLL
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected PropertyChangeListener propertyChangeListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void recalculateIfInsetsChanged()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void recalculateIfOrientationChanged()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void scrollByBlock(int direction)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void scrollByUnit(int direction)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void scrollDueToClickInTrack(int dir)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected BasicSliderUI.ScrollListener scrollListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Timer scrollTimer
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setThumbLocation(int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected JSlider slider
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle thumbRect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle tickRect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int trackBuffer
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected BasicSliderUI.TrackListener trackListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle trackRect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void uninstallKeyboardActions(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void uninstallListeners(JSlider slider)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void uninstallUI(JComponent c)
- See Also:
JComponent.updateUI()
, ComponentUI.installUI(javax.swing.JComponent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int valueForXPosition(int xPos)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int valueForYPosition(int yPos)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int xPositionForValue(int value)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int yPositionForValue(int value)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples