org.kemet.lf.components
Class CScrollableDropArea

java.lang.Object
  extended by org.kemet.lf.components.CScrollableDropArea

public class CScrollableDropArea
extends java.lang.Object

Since:
0.5
Author:
fabricemaupin

CScrollableDropArea : Creation and management of scrollable drop area.


Constructor Summary
CScrollableDropArea(int width, int height, MethodInfo info)
           creation of scrollable drop area.
 
Method Summary
 int getHeight()
           return the height of the panel.
static int getHGap()
           return the horizontal gap.
 javax.swing.JScrollPane getJs()
           return the scroll pane.
 javax.swing.JPanel getPanel()
           return the drop panel.
static int getPosX()
           return the (X) coordinate.
static int getPosY()
           return the (Y) coordinate.
static int getVGap()
           return the vertical gap.
 int getWidth()
           return the width of the panel.
static void setHGap(int gap)
           fix the horizontal gap.
 void setJs(javax.swing.JScrollPane js)
           fix the jscroll pane.
static void setPosX(int posX)
           fix the (X) coordinate.
static void setPosY(int posY)
           fix the (Y) coordinate.
static void setVGap(int gap)
           fix the vertical gap.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CScrollableDropArea

public CScrollableDropArea(int width,
                           int height,
                           MethodInfo info)
                    throws ExceptionManager

creation of scrollable drop area.

Parameters:
width - width of drop area
height - height of drop area
info - information about method to execute when there is a drop component
Throws:
ExceptionManager
Since:
0.5
Method Detail

getJs

public javax.swing.JScrollPane getJs()

return the scroll pane.

Returns:
scroll pane
Since:
0.5

setJs

public void setJs(javax.swing.JScrollPane js)

fix the jscroll pane.

Parameters:
js - jscroll pane
Since:
0.5

getPanel

public javax.swing.JPanel getPanel()

return the drop panel.

Returns:
drop panel
Since:
0.5

getWidth

public int getWidth()

return the width of the panel.

Returns:
width of the panel
Since:
0.5

getHeight

public int getHeight()

return the height of the panel.

Returns:
height of the panel
Since:
0.5

getPosX

public static int getPosX()

return the (X) coordinate.

Returns:
(X) coordinate
Since:
0.5

setPosX

public static void setPosX(int posX)

fix the (X) coordinate.

Parameters:
posX - (X) coordinate
Since:
0.5

getPosY

public static int getPosY()

return the (Y) coordinate.

Returns:
(Y) coordinate
Since:
0.5

setPosY

public static void setPosY(int posY)

fix the (Y) coordinate.

Parameters:
posY - (Y) coordinate
Since:
0.5

getVGap

public static int getVGap()

return the vertical gap.

Returns:
vertical gap
Since:
0.5

setVGap

public static void setVGap(int gap)

fix the vertical gap.

Parameters:
gap - vertical gap
Since:
0.5

getHGap

public static int getHGap()

return the horizontal gap.

Returns:
horizontal gap
Since:
0.5

setHGap

public static void setHGap(int gap)

fix the horizontal gap.

Parameters:
gap - horizontal gap
Since:
0.5


Copyright © 2008 F. MAUPIN. All Rights Reserved.