Home >> All >> javax >> swing >> [ plaf Javadoc ] |
| javax.swing.plaf.basic.* (60) | | javax.swing.plaf.metal.* (38) | | javax.swing.plaf.multi.* (31) |
| javax.swing.plaf.synth.* (9) |
javax.swing.plaf: Javadoc index of package javax.swing.plaf.
Package Samples:
javax.swing.plaf.basic
javax.swing.plaf.metal
javax.swing.plaf.multi
javax.swing.plaf.synth
Classes:
BasicSliderUI: BasicSliderUI.java This is the UI delegate in the Basic look and feel that paints JSliders. The UI delegate keeps track of 6 rectangles that place the various parts of the JSlider inside the component. The rectangles are organized as follows: +-------------------------------------------------------+ The space between the contentRect and the focusRect are the FocusInsets. The space between the focusRect and the component bounds is the insetCache which are the component's insets. The top of the thumb is the top of the contentRect. The trackRect has to be as tall as the thumb. The trackRect and tickRect ...
ComponentUI: The abstract base class for all delegates that provide the pluggable look and feel for Swing components. User applications should not need to access this class; it is internal to Swing and the look-and-feel implementations. Components such as javax.swing.JSlider do not directly implement operations related to the look and feel of the user interface, such as painting or layout. Instead, they use a delegate object for all such tasks. In the case of JSlider , the user interface would be provided by some concrete subclass of SliderUI . Soon after its creation, a ComponentUI will be sent an installUI(javax.swing.JComponent) ...
BorderUIResource: A wrapper for javax.swing.border.Border that also implements the BorderUIResource.BevelBorderUIResource marker interface. This is useful for implementing pluggable look-and-feels: When switching the current LookAndFeel, only those borders are replaced that are marked as BorderUIResource.BevelBorderUIResource . For this reason, a look-and-feel should always install borders that implement UIResource , such as the borders provided by this class.
BasicArrowButton: A button that displays an arrow (triangle) that points SwingConstants.NORTH > SwingConstants.NORTH 55 , SwingConstants.SOUTH > SwingConstants.SOUTH 55 , SwingConstants.EAST > SwingConstants.EAST 55 or SwingConstants.WEST > SwingConstants.WEST 55 . This button is used by the BasicComboBoxUI class.
UIResource: This public interface is used to designate which objects were created by ComponentUI delegates. When uninstalling the user public interface renderer with ComponentUI.uninstallUI() the renderer property is set to null . A comparison against null can be used with all properties except for the java.awt.Component properties font, foreground, and background. The container can provide the value of the properties if they are initialized or set to null .
SynthLookAndFeel: A look and feel that can be customized either by providing a file to load(java.io.InputStream, java.lang.Class) 55 or by setting a SynthStyleFactory using setStyleFactory(javax.swing.plaf.synth.SynthStyleFactory) 55 .
MetalInternalFrameTitlePane: The title pane for a javax.swing.JInternalFrame (see MetalInternalFrameUI.createNorthPane(JInternalFrame) 55 ). This can be displayed in two styles: one for regular internal frames, and the other for "palette" style internal frames.
MetalLookAndFeel: A custom look and feel that is designed to look similar across different operating systems. To install this look and feel, add the following code (or something similar) near the start of your application: try { UIManager.setLookAndFeel(new MetalLookAndFeel()); } catch (UnsupportedLookAndFeelException e) { e.printStackTrace(); }
MetalTheme: The base class for themes used by the MetalLookAndFeel . A default theme ( DefaultMetalTheme ) is provided, or you can create and use your own.
Home | Contact Us | Privacy Policy | Terms of Service |