Inheritance diagram for edu.cmu.hcii.calo.view.CALOScrollPane:
Public Member Functions | |
CALOScrollPane (Component c) | |
Constructs a CALOScrollPane containing the given component. | |
void | doLayout () |
Recalculates the layout for this container. | |
Dimension | getPreferredSize () |
Returns the preferred size of this component. | |
void | setPreferredSize (Dimension preferredSize) |
Sets the preferred size of this component to the given dimension. | |
void | setSize (Dimension d) |
Sets the size of this component. | |
void | setBackground (Color bg) |
Sets the background of this scroll pane. | |
Private Member Functions | |
void | setup () |
Sets up the visual appearance of this scroll pane. | |
Private Attributes | |
JScrollPane | scrollPane |
The actual JScrollPane contained within this pane. | |
Static Private Attributes | |
static final long | serialVersionUID = 9110620568939812305L |
Prevent serialization collisions. |
edu.cmu.hcii.calo.view.CALOScrollPane.CALOScrollPane | ( | Component | c | ) |
void edu.cmu.hcii.calo.view.CALOScrollPane.doLayout | ( | ) |
Recalculates the layout for this container.
Overridden to also send doLayout() to the actual JScrollPane contained inside this one.
Dimension edu.cmu.hcii.calo.view.CALOScrollPane.getPreferredSize | ( | ) |
Returns the preferred size of this component.
Overridden to always return the preferred size of the actual scroll pane contained inside this one unless a preferred size has been explicitly set, in which case that is returned instead.
void edu.cmu.hcii.calo.view.CALOScrollPane.setPreferredSize | ( | Dimension | preferredSize | ) |
Sets the preferred size of this component to the given dimension.
preferredSize | the new preferred size |
void edu.cmu.hcii.calo.view.CALOScrollPane.setSize | ( | Dimension | d | ) |
Sets the size of this component.
Overridden to also set the size of the actual scroll pane contained inside this one.
d | the size to set |
void edu.cmu.hcii.calo.view.CALOScrollPane.setup | ( | ) | [private] |
Sets up the visual appearance of this scroll pane.
void edu.cmu.hcii.calo.view.CALOScrollPane.setBackground | ( | Color | bg | ) |
Sets the background of this scroll pane.
Overridden to set the background of the scroll pane's viewport instead.
bg | the background to set |
final long edu.cmu.hcii.calo.view.CALOScrollPane.serialVersionUID = 9110620568939812305L [static, private] |
JScrollPane edu.cmu.hcii.calo.view.CALOScrollPane.scrollPane [private] |
The actual JScrollPane contained within this pane.