FileDocCategorySizeDatePackage
LFFactory.javaAPI DocphoneME MR2 API (J2ME)6038Wed May 02 18:00:22 BST 2007javax.microedition.lcdui

LFFactory

public abstract class LFFactory extends Object
This is a abstract factory for creating Displayable and Item's look & feel peer.

Fields Summary
private static LFFactory
factory
singleton concrete factory object
Constructors Summary
Methods Summary
abstract AlertLFgetAlertLF(Alert a)
Returns an Alert look & feel implementation.

param
a The Alert associated with this look&feel
return
an Alert look & feel implementation

abstract CanvasLFgetCanvasLF(Canvas c)
Returns a Canvas look & feel implementation.

param
c The Canvas associated with this look&feel
return
a Canvas look & feel implementation

abstract ChoiceGroupLFgetChoiceGroupLF(ChoiceGroup cg)
Returns a ChoiceGroup look & feel implementation.

param
cg The ChoiceGroup associated with this look&feel
return
a ChoiceGroup look & feel implementation

abstract CustomItemLFgetCustomItemLF(CustomItem ci)
Returns a CustomItem look & feel implementation.

param
ci The CustomItem associated with this look&feel
return
a CustomItem look & feel implementation

abstract DateFieldLFgetDateFieldLF(DateField df)
Returns a DateField look & feel implementation.

param
df The DateField associated with this look&feel
return
a DateField look & feel implementation

static javax.microedition.lcdui.LFFactorygetFactory()
Returns a concrete factory object.

	if (factory == null) {
	    factory = new LFFactoryImpl();
	}

	return factory;
    
abstract FormLFgetFormLF(Form f)
Returns a Form look & feel implementation.

param
f The Form associated with this look&feel
return
a Form look & feel implementation

abstract GaugeLFgetGaugeLF(Gauge g)
Returns a Gauge look & feel implementation.

param
g The Gauge associated with this look&feel
return
a Gauge look & feel implementation

abstract ImageItemLFgetImageItemLF(ImageItem imgItem)
Returns an ImageItem look & feel implementation.

param
imgItem The Alert associated with this look&feel
return
an ImageItem look & feel implementation

abstract FormLFgetListLF(List list)
Returns a List look & feel implementation.

param
list The List associated with this look&feel
return
a List look & feel implementation

abstract SpacerLFgetSpacerLF(Spacer spacer)
Returns a Spacer look & feel implementation.

param
spacer The Spacer associated with this look&feel
return
a Spacer look & feel implementation

abstract StringItemLFgetStringItemLF(StringItem strItem)
Returns a StringItem look & feel implementation.

param
strItem The StringItem associated with this look&feel
return
a StringItem look & feel implementation

abstract FormLFgetTextBoxFormLF(TextBox tb)
Returns a TextBox look & feel implementation.

param
tb The TextBox associated with this look&feel
return
a TextBox look & feel implementation

abstract TextFieldLFgetTextBoxLF(TextField tf)
Returns a TextField look & feel implementation for use in a TextBox screen.

param
tf -
return
a TextField look & feel implementation

abstract TextFieldLFgetTextFieldLF(TextField tf)
Returns a TextField look & feel implementation.

param
tf The TextField associated with this look&feel
return
a TextField look & feel implementation

abstract TickerLFgetTickerLF(Ticker ticker)
Returns a Ticker look & feel implementation.

param
ticker The Ticker associated with this look&feel
return
a Ticker look & feel implementation.