Also defines lots of useful constants.
Public Member Functions | |
NotificationViewBorder (Color fillColor, Color strokeColor) | |
Constructs a NotificationViewBorder with the given fill and stroke colors. | |
NotificationViewBorder (Color fillColor, Color strokeColor, boolean isDropTarget) | |
Constructs a new NotificationViewBorder with the given state. | |
void | paintBorder (Component c, Graphics graphics, int x, int y, int width, int height) |
| |
Private Member Functions | |
NotificationViewBorder () | |
Private superclass constructor. | |
Private Attributes | |
Color | fillColor |
The color we will use to fill the background. | |
Color | strokeColor |
The color we will use for the border's stroke. | |
double | opacity = 1.0 |
The opacity of the border, on a scale from 0 to 1. | |
Static Private Attributes | |
static final long | serialVersionUID = -6905593250955099862L |
Prevent serialization collisions. |
edu.cmu.hcii.calo.view.notification.NotificationViewBorder.NotificationViewBorder | ( | Color | fillColor, | |
Color | strokeColor | |||
) |
Constructs a NotificationViewBorder with the given fill and stroke colors.
fillColor | the fill color to use | |
strokeColor | the stroke color to use |
edu.cmu.hcii.calo.view.notification.NotificationViewBorder.NotificationViewBorder | ( | Color | fillColor, | |
Color | strokeColor, | |||
boolean | isDropTarget | |||
) |
Constructs a new NotificationViewBorder with the given state.
fillColor | the fill color for this border | |
strokeColor | the stroke color for this border | |
isDropTarget | true if this should be drawn as a drop target, false otherwise |
edu.cmu.hcii.calo.view.notification.NotificationViewBorder.NotificationViewBorder | ( | ) | [private] |
Private superclass constructor.
Do not use.
void edu.cmu.hcii.calo.view.notification.NotificationViewBorder.paintBorder | ( | Component | c, | |
Graphics | graphics, | |||
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) |
final long edu.cmu.hcii.calo.view.notification.NotificationViewBorder.serialVersionUID = -6905593250955099862L [static, private] |
Prevent serialization collisions.
The color we will use to fill the background.
The color we will use for the border's stroke.
double edu.cmu.hcii.calo.view.notification.NotificationViewBorder.opacity = 1.0 [private] |
The opacity of the border, on a scale from 0 to 1.