org.zaval.lw.theme.p3d
Class LwTFieldBorder
java.lang.Object
|
+--org.zaval.lw.LwView
|
+--org.zaval.lw.theme.p3d.LwTFieldBorder
- All Implemented Interfaces:
- Validationable
- public class LwTFieldBorder
- extends LwView
|
Method Summary |
protected java.awt.Dimension |
calcPreferredSize()
Calculates and returns the view preferred size. |
int |
getBottom()
Gets the bottom indent. |
int |
getLeft()
Gets the left indent. |
int |
getRight()
Gets the right indent. |
int |
getTop()
Gets the top indent. |
void |
paint(java.awt.Graphics g,
int x,
int y,
int w,
int h,
Layoutable d)
Paints the view using the given width and height. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LwTFieldBorder
public LwTFieldBorder()
paint
public void paint(java.awt.Graphics g,
int x,
int y,
int w,
int h,
Layoutable d)
- Description copied from class:
LwView
- Paints the view using the given width and height. The location where the
view has to be painted is determined with the
x and y
coordinates. This abstract method has to be implemented to define a "face" for the view.
- Overrides:
paint in class LwView
- Following copied from class:
org.zaval.lw.LwView
- Parameters:
g - the specified context to be used for painting.x - the x coordinate.y - the y coordinate.w - the width of the view.h - the height of the view.d - the owner component.
getTop
public int getTop()
- Description copied from class:
LwView
- Gets the top indent.
- Overrides:
getTop in class LwView
- Following copied from class:
org.zaval.lw.LwView
- Returns:
- a top indent.
getLeft
public int getLeft()
- Description copied from class:
LwView
- Gets the left indent.
- Overrides:
getLeft in class LwView
- Following copied from class:
org.zaval.lw.LwView
- Returns:
- a left indent.
getBottom
public int getBottom()
- Description copied from class:
LwView
- Gets the bottom indent.
- Overrides:
getBottom in class LwView
- Following copied from class:
org.zaval.lw.LwView
- Returns:
- a bottom indent.
getRight
public int getRight()
- Description copied from class:
LwView
- Gets the right indent.
- Overrides:
getRight in class LwView
- Following copied from class:
org.zaval.lw.LwView
- Returns:
- a right indent.
calcPreferredSize
protected java.awt.Dimension calcPreferredSize()
- Description copied from class:
LwView
- Calculates and returns the view preferred size. The method has not to use
the view insets to compute the preferred size.
- Overrides:
calcPreferredSize in class LwView
- Following copied from class:
org.zaval.lw.LwView
- Returns:
- a "pure" preferred size of the view.
|