Java Reference
In-Depth Information
Table 20-7.
Swing's Client Properties (Continued)
Class Accessed By
Property Name
Type
MetalInternalFrameUI
JInternalFrame.isPalette
/
MetalInternalFrameUI.IS_PALETTE
Boolean
MetalRadioButtonUI
html
/
BasicHTML.propertyKey
View
MetalScrollBarUI
JScrollBar.isFreeStanding
/
MetalScrollBarUI.FREE_STANDING_PROP
Boolean
MetalSliderUI
JSlider.isFilled
/
MetalSliderUI.SLIDER_FILL
Boolean
MetalTreeUI
JTree.lineStyle
/
MetalTreeUI.LineStyle
String
; valid values are
Angled
(
MetalTreeUI.
LEG_LINE_STYLE_STRING
),
Horizontal
(
MetalTreeUI
.HORIZ_STYLE_STRING
),
and
None
(
MetalTreeUI.
NO_STYLE_STRING
)
MotifGraphicsUtils
html
/
BasicHTML.propertyKey
View
MotifGraphicsUtils
maxAccWidth
/
MotifGraphicsUtils.MAX_ACC_WIDTH
Integer
PopupFactory
__force_heavy_weight_popup__
/
PopupFactory.forceHeavyWeightPopupKey
Boolean
SpringLayout
SpringLayout.class
SpringLayout.
Constraints
SwingUtilities
html
/
BasicHTML.propertyKey
View
SynthEditorPaneUI
JEditorPane.honorDisplayProperties
/
JEditorPane.HONOR_DISPLAY_PROPERTIES
Boolean
SynthGraphicUtils
html
/
BasicHTML.propertyKey
View
SynthMenuItemUI
html
/
BasicHTML.propertyKey
View
SynthToolTipUI
html
/
BasicHTML.propertyKey
View
WindowsDesktopManager
JInternalFrame.frameType
String
; valid values are
null
and
optionDialog
WindowsFileChooserUI
FileChooser.useShellFolder
Boolean
WindowsSliderUI
Slider.paintThumbArrowShape
Boolean
WindowsToolBarUI
XPStyle.subclass
String
■
Note
Many of the properties in Table 20-7 are used internally by the specific component delegate imple-
mentations, and you'll never need to use them. Other properties, such as the drag mode for the desktop
manager, were interim means to add capabilities while keeping the API unaltered until a new JDK version
was released.