public class SwingComponentTools extends java.lang.Object
ToolkitComponent, which
cannot be inherited from AbstractSwingComponent.| Constructor and Description |
|---|
SwingComponentTools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assignSize(javax.swing.JComponent component) |
static java.awt.Dimension |
getMaximumSize(javax.swing.JComponent component,
java.awt.Dimension superMaxSize) |
static void |
registerScrollEventForwarders(JScrollBarsToolkitComponent component)
Tool method to be used by implementations of
JScrollBarsToolkitComponent. |
static void |
registerScrollEventForwarders(JScrollPaneToolkitComponent component)
Tool method to be used by implementations of
JScrollPaneToolkitComponent. |
public SwingComponentTools()
public static void assignSize(javax.swing.JComponent component)
public static java.awt.Dimension getMaximumSize(javax.swing.JComponent component, java.awt.Dimension superMaxSize)
public static void registerScrollEventForwarders(JScrollPaneToolkitComponent component)
JScrollPaneToolkitComponent. It should
be called within the constructor of such classes in order to ensure correct firing of scroll
events in their associated ScrollingTICComponent.component - the toolkit component providing the scroll functionalitypublic static void registerScrollEventForwarders(JScrollBarsToolkitComponent component)
JScrollBarsToolkitComponent. It should
be called within the constructor of such classes in order to ensure correct firing of scroll
events in their associated ScrollingTICComponent.component - the toolkit component providing the scroll functionality