|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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 parent| Method Detail |
|---|
public int getForeground()
Themeable
getForeground in interface Themeablepublic void setForeground(int foreground)
Themeable
setForeground in interface Themeableforeground - the new foregroundpublic int getBackground()
Themeable
getBackground in interface Themeablepublic void setBackground(int background)
Themeable
setBackground in interface Themeablebackground - the new backgroundpublic int getButtonBgLight()
Themeable
getButtonBgLight in interface Themeablepublic void setButtonBgLight(int buttonBgLight)
buttonBgLight - the new button bg lightpublic int getButtonBgDark()
Themeable
getButtonBgDark in interface Themeablepublic void setButtonBgDark(int buttonBgDark)
buttonBgDark - the new button bg darkpublic int getButtonSelLight()
Themeable
getButtonSelLight in interface Themeablepublic void setButtonSelLight(int buttonSelLight)
buttonSelLight - the new button sel lightpublic int getButtonSelDark()
Themeable
getButtonSelDark in interface Themeablepublic void setButtonSelDark(int buttonSelDark)
buttonSelDark - the new button sel darkpublic int getBorder1()
Themeable
getBorder1 in interface Themeablepublic void setBorder1(int border1)
Themeable
setBorder1 in interface Themeableborder1 - the new border1public int getBorder2()
Themeable
getBorder2 in interface Themeablepublic void setBorder2(int border2)
Themeable
setBorder2 in interface Themeableborder2 - the new border2public int getTitleForeground()
Themeable
getTitleForeground in interface Themeablepublic void setTitleForeground(int titleForeground)
titleForeground - the new title foregroundpublic int getTitleBackground()
Themeable
getTitleBackground in interface Themeablepublic 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.CommandListenerpublic 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.Runnablepublic void synchroniseChanges()
public void applyTheme(Theme theme)
Themeable
applyTheme in interface Themeabletheme - the tpublic int getSelectedForeground()
Themeable
getSelectedForeground in interface Themeablepublic void setSelectedForeground(int selectedForeground)
Themeable
setSelectedForeground in interface ThemeableselectedForeground - the new selected foregroundpublic int getSelectedBackground()
Themeable
getSelectedBackground in interface Themeablepublic void setSelectedBackground(int selectedBackground)
Themeable
setSelectedBackground in interface ThemeableselectedBackground - the new selected background
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||