Class JDPScrollPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----JDPScrollPanel
- public class JDPScrollPanel
- extends Panel
Class JDPScrollPanel represents a class for laying out labels and fields while
maintaining aligment of the Fields on the right hand of the panel. Scrollbars
also appear if the components on this panel do not fit in the allocated space.
-
JDPScrollPanel()
- Constructs a new Scroll Panel.
-
JDPScrollPanel(boolean)
- Constructs a new Scroll Panel.
-
getLeftComp(int)
- Get the component in the left side of the panel and the requested position.
-
getLineCount()
- Get the number of lines on this scroll panel.
-
getRightComp(int)
- Get the component in the right side of the panel and the requested position.
-
handleEvent(Event)
-
-
insets()
-
-
reDrawPanel()
- Redraw this panel from scratch
JDPScrollPanel
public JDPScrollPanel()
- Constructs a new Scroll Panel.
JDPScrollPanel
public JDPScrollPanel(boolean staticLayout)
- Constructs a new Scroll Panel.
- Parameters:
- staticLayout - set to true to allow a component to be removed and then
put back in the same position
insets
public Insets insets()
- Overrides:
- insets in class Container
handleEvent
public boolean handleEvent(Event e)
- Overrides:
- handleEvent in class Component
reDrawPanel
public void reDrawPanel()
- Redraw this panel from scratch
- Parameters:
- target - the target panel where this one presently resides
getLeftComp
public Component getLeftComp(int comp)
- Get the component in the left side of the panel and the requested position.
- Parameters:
- the - position of the required component.
- Returns:
- the handle to the required component.
getRightComp
public Component getRightComp(int comp)
- Get the component in the right side of the panel and the requested position.
- Parameters:
- the - position of the required component.
- Returns:
- the handle to the required component.
getLineCount
public int getLineCount()
- Get the number of lines on this scroll panel.
- Returns:
- the number of lines on this scroll panel.