Java Doc for BasicSliderUI.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » plaf » basic » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » javax package » javax.swing.plaf.basic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.SliderUI
         javax.swing.plaf.basic.BasicSliderUI

All known Subclasses:   javax.swing.plaf.metal.MetalSliderUI,
BasicSliderUI
public class BasicSliderUI extends SliderUI (Code)
Note: serialVersionUID fields are added as a performance optimization only but not as a guarantee of correct deserialization.

Inner Class :public class ActionScroller extends AbstractAction
Inner Class :public class ChangeHandler implements ChangeListener
Inner Class :public class ComponentHandler extends ComponentAdapter
Inner Class :public class FocusHandler implements FocusListener
Inner Class :public class PropertyChangeHandler implements PropertyChangeListener
Inner Class :public class ScrollListener implements ActionListener
Inner Class :public class TrackListener extends MouseInputAdapter

Field Summary
final public static  intMAX_SCROLL
    
final public static  intMIN_SCROLL
    
final public static  intNEGATIVE_SCROLL
    
final public static  intPOSITIVE_SCROLL
    
protected  ChangeListenerchangeListener
    
protected  ComponentListenercomponentListener
    
protected  RectanglecontentRect
    
protected  InsetsfocusInsets
    
protected  FocusListenerfocusListener
    
protected  RectanglefocusRect
    
protected  InsetsinsetCache
    
protected  RectanglelabelRect
    
protected  booleanleftToRightCache
    
protected  PropertyChangeListenerpropertyChangeListener
    
protected  ScrollListenerscrollListener
    
protected  TimerscrollTimer
    
protected  JSliderslider
    
protected  RectanglethumbRect
    
protected  RectangletickRect
    
protected  inttrackBuffer
    
protected  TrackListenertrackListener
    
protected  RectangletrackRect
    

Constructor Summary
public  BasicSliderUI(JSlider slider)
    

Method Summary
protected  voidcalculateContentRect()
    
protected  voidcalculateFocusRect()
    
protected  voidcalculateGeometry()
    
protected  voidcalculateLabelRect()
    
protected  voidcalculateThumbLocation()
    
protected  voidcalculateThumbSize()
    
protected  voidcalculateTickRect()
    
protected  voidcalculateTrackBuffer()
    
protected  voidcalculateTrackRect()
    
 intcomputeIncrement()
    
protected  ChangeListenercreateChangeListener(JSlider slider)
    
protected  ComponentListenercreateComponentListener(JSlider slider)
    
protected  FocusListenercreateFocusListener(JSlider slider)
    
protected  PropertyChangeListenercreatePropertyChangeListener(JSlider slider)
    
protected  ScrollListenercreateScrollListener(JSlider slider)
    
protected  TrackListenercreateTrackListener(JSlider slider)
    
public static  ComponentUIcreateUI(JComponent c)
    
protected  booleandrawInverted()
    
protected  ColorgetFocusColor()
    
protected  intgetHeightOfHighValueLabel()
    
protected  intgetHeightOfLowValueLabel()
    
protected  intgetHeightOfTallestLabel()
    
protected  ComponentgetHighestValueLabel()
    
protected  ColorgetHighlightColor()
    
protected  ComponentgetLowestValueLabel()
    
public  DimensiongetMaximumSize(JComponent c)
    
public  DimensiongetMinimumHorizontalSize()
    
public  DimensiongetMinimumSize(JComponent c)
    
public  DimensiongetMinimumVerticalSize()
    
public  DimensiongetPreferredHorizontalSize()
    
public  DimensiongetPreferredSize(JComponent c)
    
public  DimensiongetPreferredVerticalSize()
    
protected  ColorgetShadowColor()
    
protected  DimensiongetThumbSize()
    
protected  intgetTickLength()
    
protected  intgetWidthOfHighValueLabel()
    
protected  intgetWidthOfLowValueLabel()
    
protected  intgetWidthOfWidestLabel()
    
protected  voidinstallDefaults(JSlider slider)
    
protected  voidinstallKeyboardActions(JSlider slider)
    
protected  voidinstallListeners(JSlider slider)
    
public  voidinstallUI(JComponent c)
    
protected  booleanisDragging()
    
public  voidpaint(Graphics g, JComponent c)
    
public  voidpaintFocus(Graphics g)
    
protected  voidpaintHorizontalLabel(Graphics g, int value, Component label)
    
public  voidpaintLabels(Graphics g)
    
protected  voidpaintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
    
protected  voidpaintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
    
protected  voidpaintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
    
protected  voidpaintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
    
public  voidpaintThumb(Graphics g)
    
public  voidpaintTicks(Graphics g)
    
public  voidpaintTrack(Graphics g)
    
protected  voidpaintVerticalLabel(Graphics g, int value, Component label)
    
protected  voidrecalculateIfInsetsChanged()
    
protected  voidrecalculateIfOrientationChanged()
    
public  voidscrollByBlock(int direction)
    
public  voidscrollByUnit(int direction)
    
protected  voidscrollDueToClickInTrack(int dir)
    
public  voidsetThumbLocation(int x, int y)
    
protected  voiduninstallKeyboardActions(JSlider slider)
    
protected  voiduninstallListeners(JSlider slider)
    
public  voiduninstallUI(JComponent c)
    
public  intvalueForXPosition(int xPos)
    
public  intvalueForYPosition(int yPos)
    
protected  intxPositionForValue(int value)
    
protected  intyPositionForValue(int value)
    

Field Detail
MAX_SCROLL
final public static int MAX_SCROLL(Code)



MIN_SCROLL
final public static int MIN_SCROLL(Code)



NEGATIVE_SCROLL
final public static int NEGATIVE_SCROLL(Code)



POSITIVE_SCROLL
final public static int POSITIVE_SCROLL(Code)



changeListener
protected ChangeListener changeListener(Code)



componentListener
protected ComponentListener componentListener(Code)



contentRect
protected Rectangle contentRect(Code)



focusInsets
protected Insets focusInsets(Code)



focusListener
protected FocusListener focusListener(Code)



focusRect
protected Rectangle focusRect(Code)



insetCache
protected Insets insetCache(Code)



labelRect
protected Rectangle labelRect(Code)



leftToRightCache
protected boolean leftToRightCache(Code)



propertyChangeListener
protected PropertyChangeListener propertyChangeListener(Code)



scrollListener
protected ScrollListener scrollListener(Code)



scrollTimer
protected Timer scrollTimer(Code)



slider
protected JSlider slider(Code)



thumbRect
protected Rectangle thumbRect(Code)



tickRect
protected Rectangle tickRect(Code)



trackBuffer
protected int trackBuffer(Code)



trackListener
protected TrackListener trackListener(Code)



trackRect
protected Rectangle trackRect(Code)




Constructor Detail
BasicSliderUI
public BasicSliderUI(JSlider slider)(Code)




Method Detail
calculateContentRect
protected void calculateContentRect()(Code)



calculateFocusRect
protected void calculateFocusRect()(Code)



calculateGeometry
protected void calculateGeometry()(Code)



calculateLabelRect
protected void calculateLabelRect()(Code)



calculateThumbLocation
protected void calculateThumbLocation()(Code)



calculateThumbSize
protected void calculateThumbSize()(Code)



calculateTickRect
protected void calculateTickRect()(Code)



calculateTrackBuffer
protected void calculateTrackBuffer()(Code)



calculateTrackRect
protected void calculateTrackRect()(Code)



computeIncrement
int computeIncrement()(Code)



createChangeListener
protected ChangeListener createChangeListener(JSlider slider)(Code)



createComponentListener
protected ComponentListener createComponentListener(JSlider slider)(Code)



createFocusListener
protected FocusListener createFocusListener(JSlider slider)(Code)



createPropertyChangeListener
protected PropertyChangeListener createPropertyChangeListener(JSlider slider)(Code)



createScrollListener
protected ScrollListener createScrollListener(JSlider slider)(Code)



createTrackListener
protected TrackListener createTrackListener(JSlider slider)(Code)



createUI
public static ComponentUI createUI(JComponent c)(Code)



drawInverted
protected boolean drawInverted()(Code)



getFocusColor
protected Color getFocusColor()(Code)



getHeightOfHighValueLabel
protected int getHeightOfHighValueLabel()(Code)



getHeightOfLowValueLabel
protected int getHeightOfLowValueLabel()(Code)



getHeightOfTallestLabel
protected int getHeightOfTallestLabel()(Code)



getHighestValueLabel
protected Component getHighestValueLabel()(Code)



getHighlightColor
protected Color getHighlightColor()(Code)



getLowestValueLabel
protected Component getLowestValueLabel()(Code)



getMaximumSize
public Dimension getMaximumSize(JComponent c)(Code)



getMinimumHorizontalSize
public Dimension getMinimumHorizontalSize()(Code)



getMinimumSize
public Dimension getMinimumSize(JComponent c)(Code)



getMinimumVerticalSize
public Dimension getMinimumVerticalSize()(Code)



getPreferredHorizontalSize
public Dimension getPreferredHorizontalSize()(Code)



getPreferredSize
public Dimension getPreferredSize(JComponent c)(Code)



getPreferredVerticalSize
public Dimension getPreferredVerticalSize()(Code)



getShadowColor
protected Color getShadowColor()(Code)



getThumbSize
protected Dimension getThumbSize()(Code)



getTickLength
protected int getTickLength()(Code)



getWidthOfHighValueLabel
protected int getWidthOfHighValueLabel()(Code)



getWidthOfLowValueLabel
protected int getWidthOfLowValueLabel()(Code)



getWidthOfWidestLabel
protected int getWidthOfWidestLabel()(Code)



installDefaults
protected void installDefaults(JSlider slider)(Code)



installKeyboardActions
protected void installKeyboardActions(JSlider slider)(Code)



installListeners
protected void installListeners(JSlider slider)(Code)



installUI
public void installUI(JComponent c)(Code)



isDragging
protected boolean isDragging()(Code)



paint
public void paint(Graphics g, JComponent c)(Code)



paintFocus
public void paintFocus(Graphics g)(Code)



paintHorizontalLabel
protected void paintHorizontalLabel(Graphics g, int value, Component label)(Code)



paintLabels
public void paintLabels(Graphics g)(Code)



paintMajorTickForHorizSlider
protected void paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)(Code)



paintMajorTickForVertSlider
protected void paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)(Code)



paintMinorTickForHorizSlider
protected void paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)(Code)



paintMinorTickForVertSlider
protected void paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)(Code)



paintThumb
public void paintThumb(Graphics g)(Code)



paintTicks
public void paintTicks(Graphics g)(Code)



paintTrack
public void paintTrack(Graphics g)(Code)



paintVerticalLabel
protected void paintVerticalLabel(Graphics g, int value, Component label)(Code)



recalculateIfInsetsChanged
protected void recalculateIfInsetsChanged()(Code)



recalculateIfOrientationChanged
protected void recalculateIfOrientationChanged()(Code)



scrollByBlock
public void scrollByBlock(int direction)(Code)



scrollByUnit
public void scrollByUnit(int direction)(Code)



scrollDueToClickInTrack
protected void scrollDueToClickInTrack(int dir)(Code)



setThumbLocation
public void setThumbLocation(int x, int y)(Code)



uninstallKeyboardActions
protected void uninstallKeyboardActions(JSlider slider)(Code)



uninstallListeners
protected void uninstallListeners(JSlider slider)(Code)



uninstallUI
public void uninstallUI(JComponent c)(Code)



valueForXPosition
public int valueForXPosition(int xPos)(Code)



valueForYPosition
public int valueForYPosition(int yPos)(Code)



xPositionForValue
protected int xPositionForValue(int value)(Code)



yPositionForValue
protected int yPositionForValue(int value)(Code)




Methods inherited from javax.swing.plaf.ComponentUI
public boolean contains(JComponent component, int x, int y)(Code)(Java Doc)
public static ComponentUI createUI(JComponent component)(Code)(Java Doc)
public Accessible getAccessibleChild(JComponent component, int childIndex)(Code)(Java Doc)
public int getAccessibleChildrenCount(JComponent component)(Code)(Java Doc)
public Dimension getMaximumSize(JComponent component)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent component)(Code)(Java Doc)
public Dimension getPreferredSize(JComponent component)(Code)(Java Doc)
public void installUI(JComponent component)(Code)(Java Doc)
public void paint(Graphics graphics, JComponent component)(Code)(Java Doc)
public void uninstallUI(JComponent component)(Code)(Java Doc)
public void update(Graphics graphics, JComponent component)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.