|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.microedition.lcdui.Displayable javax.microedition.lcdui.Screen javax.microedition.lcdui.Form net.sourceforge.mewt.DefaultForm
public abstract class DefaultForm
The Class DefaultForm.
Constructor Summary | |
---|---|
DefaultForm(java.lang.String arg0,
javax.microedition.lcdui.Display d,
javax.microedition.lcdui.Displayable parent)
Instantiates a new default form. |
Method Summary | |
---|---|
void |
applyTheme(Theme theme)
Apply theme. |
abstract void |
cancelEdit()
Cancel edit. |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
|
int |
getBackground()
Gets the background. |
int |
getBorder1()
Gets the border1. |
int |
getBorder2()
Gets the border2. |
int |
getButtonBgDark()
Gets the button bg dark. |
int |
getButtonBgLight()
Gets the button bg light. |
int |
getButtonSelDark()
Gets the button sel dark. |
int |
getButtonSelLight()
Gets the button sel light. |
int |
getForeground()
Gets the foreground. |
javax.microedition.lcdui.Display |
getParentDisplay()
Gets the parent display. |
javax.microedition.lcdui.Displayable |
getParentForm()
Gets the parent form. |
int |
getSelectedBackground()
Gets the selected background. |
int |
getSelectedForeground()
Gets the selected foreground. |
int |
getTitleBackground()
Gets the title background. |
int |
getTitleForeground()
Gets the title foreground. |
abstract void |
run()
|
void |
setBackground(int background)
Sets the background. |
void |
setBorder1(int border1)
Sets the border1. |
void |
setBorder2(int border2)
Sets the border2. |
void |
setButtonBgDark(int buttonBgDark)
Sets the button bg dark. |
void |
setButtonBgLight(int buttonBgLight)
Sets the button bg light. |
void |
setButtonSelDark(int buttonSelDark)
Sets the button sel dark. |
void |
setButtonSelLight(int buttonSelLight)
Sets the button sel light. |
void |
setForeground(int foreground)
Sets the foreground. |
void |
setParentDisplay(javax.microedition.lcdui.Display display)
Sets the parent display. |
void |
setParentForm(javax.microedition.lcdui.Displayable parentForm)
Sets the parent form. |
void |
setSelectedBackground(int selectedBackground)
Sets the selected background. |
void |
setSelectedForeground(int selectedForeground)
Sets the selected foreground. |
void |
setTitleBackground(int titleBackground)
Sets the title background. |
void |
setTitleForeground(int titleForeground)
Sets the title foreground. |
void |
synchroniseChanges()
Synchronise changes. |
Methods inherited from class javax.microedition.lcdui.Form |
---|
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size |
Methods inherited from class javax.microedition.lcdui.Displayable |
---|
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultForm(java.lang.String arg0, javax.microedition.lcdui.Display d, javax.microedition.lcdui.Displayable parent)
arg0
- the arg0d
- the dparent
- the parentMethod Detail |
---|
public int getForeground()
Themeable
getForeground
in interface Themeable
public void setForeground(int foreground)
Themeable
setForeground
in interface Themeable
foreground
- the new foregroundpublic int getBackground()
Themeable
getBackground
in interface Themeable
public void setBackground(int background)
Themeable
setBackground
in interface Themeable
background
- the new backgroundpublic int getButtonBgLight()
Themeable
getButtonBgLight
in interface Themeable
public void setButtonBgLight(int buttonBgLight)
buttonBgLight
- the new button bg lightpublic int getButtonBgDark()
Themeable
getButtonBgDark
in interface Themeable
public void setButtonBgDark(int buttonBgDark)
buttonBgDark
- the new button bg darkpublic int getButtonSelLight()
Themeable
getButtonSelLight
in interface Themeable
public void setButtonSelLight(int buttonSelLight)
buttonSelLight
- the new button sel lightpublic int getButtonSelDark()
Themeable
getButtonSelDark
in interface Themeable
public void setButtonSelDark(int buttonSelDark)
buttonSelDark
- the new button sel darkpublic int getBorder1()
Themeable
getBorder1
in interface Themeable
public void setBorder1(int border1)
Themeable
setBorder1
in interface Themeable
border1
- the new border1public int getBorder2()
Themeable
getBorder2
in interface Themeable
public void setBorder2(int border2)
Themeable
setBorder2
in interface Themeable
border2
- the new border2public int getTitleForeground()
Themeable
getTitleForeground
in interface Themeable
public void setTitleForeground(int titleForeground)
titleForeground
- the new title foregroundpublic int getTitleBackground()
Themeable
getTitleBackground
in interface Themeable
public void setTitleBackground(int titleBackground)
titleBackground
- the new title backgroundpublic abstract void cancelEdit()
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
commandAction
in interface javax.microedition.lcdui.CommandListener
public javax.microedition.lcdui.Display getParentDisplay()
public void setParentDisplay(javax.microedition.lcdui.Display display)
display
- the new parent displaypublic javax.microedition.lcdui.Displayable getParentForm()
public void setParentForm(javax.microedition.lcdui.Displayable parentForm)
parentForm
- the new parent formpublic abstract void run()
run
in interface java.lang.Runnable
public void synchroniseChanges()
public void applyTheme(Theme theme)
Themeable
applyTheme
in interface Themeable
theme
- the tpublic int getSelectedForeground()
Themeable
getSelectedForeground
in interface Themeable
public void setSelectedForeground(int selectedForeground)
Themeable
setSelectedForeground
in interface Themeable
selectedForeground
- the new selected foregroundpublic int getSelectedBackground()
Themeable
getSelectedBackground
in interface Themeable
public void setSelectedBackground(int selectedBackground)
Themeable
setSelectedBackground
in interface Themeable
selectedBackground
- the new selected background
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |