: 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 LwSoftLineRender

java.lang.Object
  |
  +--org.zaval.lw.theme.p3d.LwSoftLineRender
All Implemented Interfaces:
LwLineRender

public class LwSoftLineRender
extends java.lang.Object
implements LwLineRender


Constructor Summary
LwSoftLineRender()
           
 
Method Summary
 void bottomLine(java.awt.Graphics g, int x1, int y1, int x2, int y2)
          Paints bottom line from-to the given locations using the specified graphics context.
 void leftLine(java.awt.Graphics g, int x1, int y1, int x2, int y2)
          Paints left line from-to the given locations using the specified graphics context.
 int lineSize(int type)
          Returns thickness of the specified line.
 void rightLine(java.awt.Graphics g, int x1, int y1, int x2, int y2)
          Paints right line from-to the given locations using the specified graphics context.
 void topLine(java.awt.Graphics g, int x1, int y1, int x2, int y2)
          Paints top line from-to the given locations using the specified graphics context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LwSoftLineRender

public LwSoftLineRender()
Method Detail

leftLine

public void leftLine(java.awt.Graphics g,
                     int x1,
                     int y1,
                     int x2,
                     int y2)
Description copied from interface: LwLineRender
Paints left line from-to the given locations using the specified graphics context.
Specified by:
leftLine in interface LwLineRender
Following copied from interface: org.zaval.lw.theme.LwLineRender
Parameters:
g - the specified graphics context.
x1 - the x location of the starting line point.
y1 - the y location of the starting line point.
x2 - the x location of the ending line point.
y2 - the y location of the ending line point.

rightLine

public void rightLine(java.awt.Graphics g,
                      int x1,
                      int y1,
                      int x2,
                      int y2)
Description copied from interface: LwLineRender
Paints right line from-to the given locations using the specified graphics context.
Specified by:
rightLine in interface LwLineRender
Following copied from interface: org.zaval.lw.theme.LwLineRender
Parameters:
g - the specified graphics context.
x1 - the x location of the starting line point.
y1 - the y location of the starting line point.
x2 - the x location of the ending line point.
y2 - the y location of the ending line point.

topLine

public void topLine(java.awt.Graphics g,
                    int x1,
                    int y1,
                    int x2,
                    int y2)
Description copied from interface: LwLineRender
Paints top line from-to the given locations using the specified graphics context.
Specified by:
topLine in interface LwLineRender
Following copied from interface: org.zaval.lw.theme.LwLineRender
Parameters:
g - the specified graphics context.
x1 - the x location of the starting line point.
y1 - the y location of the starting line point.
x2 - the x location of the ending line point.
y2 - the y location of the ending line point.

bottomLine

public void bottomLine(java.awt.Graphics g,
                       int x1,
                       int y1,
                       int x2,
                       int y2)
Description copied from interface: LwLineRender
Paints bottom line from-to the given locations using the specified graphics context.
Specified by:
bottomLine in interface LwLineRender
Following copied from interface: org.zaval.lw.theme.LwLineRender
Parameters:
g - the specified graphics context.
x1 - the x location of the starting line point.
y1 - the y location of the starting line point.
x2 - the x location of the ending line point.
y2 - the y location of the ending line point.

lineSize

public int lineSize(int type)
Description copied from interface: LwLineRender
Returns thickness of the specified line.
Specified by:
lineSize in interface LwLineRender
Following copied from interface: org.zaval.lw.theme.LwLineRender
Parameters:
type - the specified line type. Use LwToolkit.TOP, LwToolkit.BOTTOM, LwToolkit.LEFT or LwToolkit.RIGHT constant as the argument value
Returns:
a thickness of the specified line.


: up