: Download: FAQ: Licensing: Support: Contact ME
LwVCL Home
Introduction
Overview
Screen Shots
On-line Demos
Requirements
Further Plans
Docs
Tutorial
How-to (PDF)
API
FAQ
Download
Latest version

Home > J2SE > API

Overview  Package   Class  Tree  Deprecated  Index  Help 

org.zaval.lw.theme.p3d
Class LwSBundleBorder

java.lang.Object
  |
  +--org.zaval.lw.LwView
        |
        +--org.zaval.lw.theme.p3d.LwSBundleBorder
All Implemented Interfaces:
Validationable

public class LwSBundleBorder
extends LwView


Fields inherited from class org.zaval.lw.LwView
MOSAIC, ORIGINAL, STRETCH
 
Constructor Summary
LwSBundleBorder(int t)
           
 
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 org.zaval.lw.LwView
getPreferredSize, getType, invalidate, isValid, ownerChanged, paint, recalc, setType, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LwSBundleBorder

public LwSBundleBorder(int t)
Method Detail

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.


: up