Java Reference
In-Depth Information
Table 1-4. JScrollBar Properties (Continued)
Property Name
Data Type
Access
maximum
int
Read-write
maximumSize
Dimension
Read-only
minimum
int
Read-write
minimumSize
Dimension
Read-only
model
BoundedRangeModel
Read-write bound
orientation
int
Read-write bound
UI
ScrollBarUI
Read-write bound
UIClassID
String
Read-only
unitIncrement
int
Read-write bound
value
int
Read-write bound
valueIsAdjusting
boolean
Read-write bound
visibleAmount
int
Read-write
Besides the property tables, you'll find information about important aspects of each
component and the techniques for using them.
Note This topic is not intended to be an API reference, nor does it cover everything about each component.
For the lesser-used aspects of a component, see the online javadoc documentation.
Summary
This chapter provided a brief overview of what will be covered in this topic, such as the many
essential parts of the Swing component set you need to understand in order to use Swing
components. The combined set of javax.swing packages is larger than the entire first JDK, if
not the first two.
In Chapter 2, you'll explore how to deal with the many aspects of event handling using the
Swing components. In addition to reviewing the delegation-based event model, you'll look at
different ways you can deal with events when using Swing components and get a grasp of the
focus traversal policies involved with Swing.
 
Search WWH ::




Custom Search