java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ViewportUI
javax.swing.plaf.basic.BasicViewportUI
BasicViewport implementation
-
Constructor Summary
Constructors -
Method Summary
修饰符和类方法描述static ComponentUI
Returns an instance ofBasicViewportUI
.protected void
Installs view port properties.protected void
Uninstall view port properties.Methods declared in class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
Constructor Details
-
BasicViewportUI
public BasicViewportUI()Constructs aBasicViewportUI
.
-
-
Method Details
-
createUI
Returns an instance ofBasicViewportUI
.- Parameters:
c
- a component- Returns:
- an instance of
BasicViewportUI
-
installDefaults
Installs view port properties.- Parameters:
c
- a component
-
uninstallDefaults
Uninstall view port properties.- Parameters:
c
- a component
-