|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.ToolbarBorder
public class ToolbarBorder
ToolbarBorder provides Border support for Windows 95 Window Border styles for Toolbars
Field Summary |
---|
Fields inherited from class com.sas.visuals.Windows95Border |
---|
_component |
Fields inherited from class com.sas.visuals.Border |
---|
baseColor, baseColorJ, borderWidth, lightSource, RB_KEY, style |
Fields inherited from interface com.sas.visuals.BorderInterface |
---|
BOTTOM_LEFT, BOTTOM_RIGHT, DEFAULT, LOWERED, NONE, RAISED, TOP_LEFT, TOP_RIGHT |
Constructor Summary | |
---|---|
ToolbarBorder()
Default ToolbarBorder constructor | |
ToolbarBorder(java.awt.Component component)
ToolbarBorder constructor with a specified component | |
ToolbarBorder(java.awt.Component component,
int s)
ToolbarBorder constructor with a specified component and style | |
ToolbarBorder(int s)
ToolbarBorder constructor with a specified style | |
ToolbarBorder(Windows95Border border)
ToolbarBorder constructor based on an existing Windows95Border |
Method Summary | |
---|---|
void |
drawInRect(java.awt.Component component,
java.awt.Graphics graphics,
int x,
int y,
int width,
int height)
Draws the border on the specified graphics with the specified x, y, Math.max(getPreferredSize().width, width), Math.max(getPreferredSize().height, height) |
Methods inherited from class com.sas.visuals.Windows95Border |
---|
drawInRect, getBackground, getBottomMargin, getComponent, getForeground, getInsets, getLeftMargin, getRightMargin, getTopMargin, setComponent |
Methods inherited from class com.sas.visuals.Border |
---|
clone, drawInRect, drawInRect, equals, getBaseColor, getBorderWidth, getExtendedBeanInfo, getInsets, getInteriorBounds, getInteriorBounds, getLightSource, getStyle, hashCode, paramString, setBaseColor, setBorderWidth, setLightSource, setStyle, toString |
Constructor Detail |
---|
public ToolbarBorder()
public ToolbarBorder(int s)
s
- the border style. Valid border styles are VisualAspects.BDRxxx valuespublic ToolbarBorder(java.awt.Component component)
component
- the component associated with the borderpublic ToolbarBorder(java.awt.Component component, int s)
s
- the border style. Valid border styles are VisualAspects.BDRxxx valuescomponent
- the component associated with the borderpublic ToolbarBorder(Windows95Border border)
border
- Windows95BorderMethod Detail |
---|
public void drawInRect(java.awt.Component component, java.awt.Graphics graphics, int x, int y, int width, int height)
drawInRect
in interface BorderInterface
drawInRect
in class Windows95Border
graphics
- the graphics to usex
- coordinatey
- coordinatewidth
- coordinateheight
- coordinatecomponent
- the java.awt.Component to draw the border on, can be nullBorderInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |