Class jif.awt.AwarePanel
All Packages Class Hierarchy This Package Previous Next Index
Class jif.awt.AwarePanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----jif.awt.AwarePanel
- public class AwarePanel
- extends Panel
-
CAPTION
-
-
CENTER
-
-
FLAT
-
-
GROOVED
-
-
LEFT
-
-
LOWERED
-
-
NONE
-
-
RAISED
-
-
RIDGED
-
-
RIGHT
-
-
ROUNDED
-
-
TAB_KEY
-
-
TEXT_LOWERED
-
-
TEXT_NORMAL
-
-
TEXT_RAISED
-
-
TEXT_SHADOW
-
-
AwarePanel()
-
-
AwarePanel(int, int, int)
-
-
AwarePanel(int, int, int, String)
-
-
drawFrame(Graphics)
-
-
drawText(Graphics)
-
-
findChild(String)
-
-
findNextComponent(int)
- Finds the next widget in the component list...
-
findPreviousComponent(int)
- Finds the previous widget in the component list...
-
focusBackward(Component)
- Sends the focus to the previous component
-
focusForward(Component)
- Sends the focus to the next component
-
generateInsertSQL(String)
- Generates an SQL INSERT statement for the AwareTextFields on this
panel that have changed.
-
generateUpdateSQL(String)
- Generates an SQL UPDATE statement for the AwareTextFields on this
panel that have changed.
-
handleEvent(Event)
-
-
isStyleSet(int)
- Check the style bitmap for inclusion.
-
minimumSize()
-
-
paint(Graphics)
-
-
preferredSize()
-
-
setChildValue(String, int)
-
-
setChildValue(String, String)
-
-
setFocus(Component)
- This routine is called when any of the child components get
the focus.
-
setStyle(int)
-
-
setText(String)
-
-
setText(String, int, int)
-
-
setTextPlacement(int)
-
-
setTextStyle(int)
-
-
setThickness(int)
-
TAB_KEY
public final static int TAB_KEY
TEXT_NORMAL
public final static int TEXT_NORMAL
TEXT_LOWERED
public final static int TEXT_LOWERED
TEXT_RAISED
public final static int TEXT_RAISED
TEXT_SHADOW
public final static int TEXT_SHADOW
CENTER
public final static int CENTER
LEFT
public final static int LEFT
RIGHT
public final static int RIGHT
NONE
public final static int NONE
FLAT
public final static int FLAT
GROOVED
public final static int GROOVED
LOWERED
public final static int LOWERED
ROUNDED
public final static int ROUNDED
RAISED
public final static int RAISED
RIDGED
public final static int RIDGED
CAPTION
public final static int CAPTION
AwarePanel
public AwarePanel()
AwarePanel
public AwarePanel(int style,
int width,
int height)
AwarePanel
public AwarePanel(int style,
int width,
int height,
String text)
setStyle
public void setStyle(int style)
setText
public void setText(String newText,
int textStyle,
int placement)
setText
public void setText(String newText)
setTextStyle
public void setTextStyle(int textStyle)
setTextPlacement
public void setTextPlacement(int placement)
setThickness
public void setThickness(int thick)
paint
public void paint(Graphics g)
- Overrides:
- paint in class Component
drawFrame
public void drawFrame(Graphics g)
preferredSize
public Dimension preferredSize()
- Overrides:
- preferredSize in class Container
minimumSize
public Dimension minimumSize()
- Overrides:
- minimumSize in class Container
drawText
public void drawText(Graphics g)
isStyleSet
public boolean isStyleSet(int check)
- Check the style bitmap for inclusion.
- Parameters:
- check - The bits to check
focusForward
public synchronized void focusForward(Component c)
- Sends the focus to the next component
focusBackward
public synchronized void focusBackward(Component c)
- Sends the focus to the previous component
findNextComponent
protected int findNextComponent(int startPos)
- Finds the next widget in the component list...
- Parameters:
- startPos - The starting position
findPreviousComponent
protected int findPreviousComponent(int startPos)
- Finds the previous widget in the component list...
- Parameters:
- startPos - The starting position
setFocus
public void setFocus(Component target)
- This routine is called when any of the child components get
the focus. It is a feeble attempt to figure out what the current
position in the tab order I am. However, as of the JDK v1.0.2,
the focus events are not working properly.
- Parameters:
- c - The component who got the focus
generateUpdateSQL
public String generateUpdateSQL(String tableName)
- Generates an SQL UPDATE statement for the AwareTextFields on this
panel that have changed.
- Parameters:
- tableName - The name of the table to update
generateInsertSQL
public String generateInsertSQL(String tableName)
- Generates an SQL INSERT statement for the AwareTextFields on this
panel that have changed.
- Parameters:
- tableName - The name of the table to update
setChildValue
public void setChildValue(String name,
String value)
setChildValue
public void setChildValue(String name,
int value)
findChild
protected Component findChild(String name)
handleEvent
public boolean handleEvent(Event event)
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index