|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to plain GUI component The GUI component package contains an abstract set of components that can generally be used.
| Method Summary | |
void |
addActionListener(java.awt.event.ActionListener al)
At the moment ALL events are delegated through a simple actionListener |
void |
addFocusListener(java.awt.event.FocusListener fl)
|
void |
addHelpListener(java.awt.event.ActionListener fl)
add a listener for help events |
void |
addMouseListener(java.awt.event.MouseListener fl)
|
java.awt.Component |
getComponent()
Return the visual component for this extension element |
boolean |
getEnabled()
|
int |
getHeight()
|
java.awt.Dimension |
getSize()
Returns the approximate size of this extension element |
org.w3c.dom.css.CSSStyleDeclaration |
getStyle()
gets the css style |
int |
getWidth()
|
int |
getX()
|
int |
getY()
|
void |
removeActionListener(java.awt.event.ActionListener al)
|
void |
removeFocusListener(java.awt.event.FocusListener fl)
|
void |
removeHelpListener(java.awt.event.ActionListener fl)
remove a listener for help events |
void |
removeMouseListener(java.awt.event.MouseListener fl)
|
void |
setBackground(java.awt.Color bg)
set the background, if null, then reset to default |
void |
setBounds(int x,
int y,
int width,
int height)
Set the bounds of Container |
void |
setEnabled(boolean b)
|
void |
setFocus()
set the focus to this control |
void |
setForeground(java.awt.Color fg)
|
void |
setHintText(java.lang.String text)
set the hint text |
void |
setInputMode(java.lang.String inputmode)
set the input mode attribute (from XForms) |
void |
setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
sets the CSS style for this component. |
void |
setVisible(boolean v)
Set this drawing area visible. |
void |
setZoom(double zoom)
set the zoom level (1.0 is the normal) |
| Method Detail |
public void setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
public org.w3c.dom.css.CSSStyleDeclaration getStyle()
public void setVisible(boolean v)
v - true=visible, false=invisiblepublic void setEnabled(boolean b)
b - Active or not activepublic boolean getEnabled()
public void setBounds(int x,
int y,
int width,
int height)
x - X locationy - X locationwidth - X locationheight - X locationpublic int getX()
public int getY()
public int getWidth()
public int getHeight()
public void setHintText(java.lang.String text)
public void addActionListener(java.awt.event.ActionListener al)
al - Add the actionlistenerpublic void removeActionListener(java.awt.event.ActionListener al)
public void addFocusListener(java.awt.event.FocusListener fl)
public void removeFocusListener(java.awt.event.FocusListener fl)
public void addMouseListener(java.awt.event.MouseListener fl)
public void removeMouseListener(java.awt.event.MouseListener fl)
public void addHelpListener(java.awt.event.ActionListener fl)
public void removeHelpListener(java.awt.event.ActionListener fl)
public java.awt.Component getComponent()
public java.awt.Dimension getSize()
public void setZoom(double zoom)
public void setBackground(java.awt.Color bg)
public void setForeground(java.awt.Color fg)
public void setInputMode(java.lang.String inputmode)
public void setFocus()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||