Inheritance diagram for edu.cmu.hcii.calo.view.panes.PaneTitle:
Public Member Functions | |
PaneTitle (String title, boolean scrollable) | |
Create a new PaneTitle. | |
Dimension | getPreferredSize () |
Static Public Member Functions | |
static void | main (String[] args) |
Runs a small test program to verify that PaneTitle works correctly. | |
Protected Member Functions | |
String | getTitle () |
A getter for this pane's title. | |
void | paintComponent (Graphics arg0) |
Make the pane title pretty with a gradient and roundedness. | |
boolean | isExpanded () |
A getter for the expanded state of this pane. | |
void | setExpanded (boolean isExpanded) |
A setter for the expanded state of this pane. | |
Private Member Functions | |
void | toggleExpanded () |
Private Attributes | |
String | title |
This pane's title. | |
JLabel | titleLabel |
The label for this pane's title. | |
IconButton | expandButton |
The minimize button. | |
boolean | isExpanded |
Is this pane expanded? | |
Static Private Attributes | |
static final long | serialVersionUID = 3459552455765647160L |
Prevent serialization collisions. |
edu.cmu.hcii.calo.view.panes.PaneTitle.PaneTitle | ( | String | title, | |
boolean | scrollable | |||
) |
Create a new PaneTitle.
title | this pane's title | |
scrollable | whether or not this pane is scrollable |
static void edu.cmu.hcii.calo.view.panes.PaneTitle.main | ( | String[] | args | ) | [static] |
Runs a small test program to verify that PaneTitle works correctly.
args | command-line args; don't bother passing any |
String edu.cmu.hcii.calo.view.panes.PaneTitle.getTitle | ( | ) | [protected] |
A getter for this pane's title.
void edu.cmu.hcii.calo.view.panes.PaneTitle.paintComponent | ( | Graphics | arg0 | ) | [protected] |
Make the pane title pretty with a gradient and roundedness.
Reimplemented from edu.cmu.hcii.calo.view.TranslucentView.
boolean edu.cmu.hcii.calo.view.panes.PaneTitle.isExpanded | ( | ) | [protected] |
A getter for the expanded state of this pane.
void edu.cmu.hcii.calo.view.panes.PaneTitle.setExpanded | ( | boolean | isExpanded | ) | [protected] |
A setter for the expanded state of this pane.
isExpanded | the isExpanded to set |
final long edu.cmu.hcii.calo.view.panes.PaneTitle.serialVersionUID = 3459552455765647160L [static, private] |
String edu.cmu.hcii.calo.view.panes.PaneTitle.title [private] |
This pane's title.
JLabel edu.cmu.hcii.calo.view.panes.PaneTitle.titleLabel [private] |
The label for this pane's title.
The minimize button.
boolean edu.cmu.hcii.calo.view.panes.PaneTitle.isExpanded [private] |
Is this pane expanded?