| java.lang.Object javax.microedition.lcdui.ItemLFImpl javax.microedition.lcdui.StringItemLFImpl
StringItemLFImpl | class StringItemLFImpl extends ItemLFImpl implements StringItemLF(Code) | | Look and feel implementation for StringItem using
platform widget.
|
Method Summary | |
void | createNativeResource(int ownerId) Create native resource for current StringItem . | boolean | equateNLA() Determine if this Item should have a newline after it. | boolean | equateNLB() Determine if this Item should have a newline before it. | public Font | getDefaultFont() Gets default font to render text in StringItem if it was not
set by the application. | public void | lAddCommand(Command cmd, int i) Notifies L&F of a command addition in the corresponding
StringItem . | public void | lRemoveCommand(Command cmd, int i) Notifies L&F of a command removal in the corresponding
StringItem . | public void | lSetFont(Font font) Notifies L&F of a font change in the corresponding
StringItem . | public void | lSetText(String str) Notifies L&F of a string change in the corresponding
StringItem . | boolean | uCallPeerStateChanged(int hint) Called by event delivery to notify an ItemLF in current
FormLF of a change in its peer state. |
StringItemLFImpl | StringItemLFImpl(StringItem strItem)(Code) | | Creates a look&feel for a StringItem .
Parameters: strItem - The StringItem associated with this look&feel |
createNativeResource | void createNativeResource(int ownerId)(Code) | | Create native resource for current StringItem .
Override function in ItemLFImpl .
Parameters: ownerId - Owner screen's native resource id |
equateNLA | boolean equateNLA()(Code) | | Determine if this Item should have a newline after it.
true if it should have a newline after |
equateNLB | boolean equateNLB()(Code) | | Determine if this Item should have a newline before it.
true if it should have a newline before |
getDefaultFont | public Font getDefaultFont()(Code) | | Gets default font to render text in StringItem if it was not
set by the application.
- the font to render text if it was not set by the app |
lAddCommand | public void lAddCommand(Command cmd, int i)(Code) | | Notifies L&F of a command addition in the corresponding
StringItem .
Parameters: cmd - the newly added command Parameters: i - the index of the added command in the StringItem 'scommands[] array |
lRemoveCommand | public void lRemoveCommand(Command cmd, int i)(Code) | | Notifies L&F of a command removal in the corresponding
StringItem .
Parameters: cmd - the newly removed command Parameters: i - the index of the removed command in the StringItem 's commands[] array |
lSetFont | public void lSetFont(Font font)(Code) | | Notifies L&F of a font change in the corresponding
StringItem .
Parameters: font - the new font set in the StringItem |
lSetText | public void lSetText(String str)(Code) | | Notifies L&F of a string change in the corresponding
StringItem .
Parameters: str - the new string set in the StringItem |
uCallPeerStateChanged | boolean uCallPeerStateChanged(int hint)(Code) | | Called by event delivery to notify an ItemLF in current
FormLF of a change in its peer state.
Handle special gesture of default command.
Parameters: hint - -1 signals that user performed the special gesture of default command always false so ItemStateListener will not be notified |
Methods inherited from javax.microedition.lcdui.ItemLFImpl | abstract void createNativeResource(int ownerId)(Code)(Java Doc) protected void createTempNativeResource()(Code)(Java Doc) void deleteNativeResource()(Code)(Java Doc) boolean equateNLA()(Code)(Java Doc) boolean equateNLB()(Code)(Java Doc) Display getCurrentDisplay()(Code)(Java Doc) int getLayout()(Code)(Java Doc) native int getMinimumHeight0(int nativeId)(Code)(Java Doc) native int getMinimumWidth0(int nativeId)(Code)(Java Doc) native int getPreferredHeight0(int nativeId, int w)(Code)(Java Doc) native int getPreferredWidth0(int nativeId, int h)(Code)(Java Doc) void initNativeResource()(Code)(Java Doc) final public boolean isRequestedSizesValid()(Code)(Java Doc) public void lAddCommand(Command cmd, int i)(Code)(Java Doc) void lCallHideNotify()(Code)(Java Doc) void lCallPaint(Graphics g, int w, int h)(Code)(Java Doc) void lCallShowNotify()(Code)(Java Doc) void lCallTraverseOut()(Code)(Java Doc) public void lCommitPendingInteraction()(Code)(Java Doc) int lGetAdornedMinimumHeight()(Code)(Java Doc) int lGetAdornedMinimumWidth()(Code)(Java Doc) int lGetAdornedPreferredHeight(int width)(Code)(Java Doc) int lGetAdornedPreferredWidth(int height)(Code)(Java Doc) protected int lGetLockedHeight()(Code)(Java Doc) int lGetLockedWidth()(Code)(Java Doc) public int lGetMinimumHeight()(Code)(Java Doc) public int lGetMinimumWidth()(Code)(Java Doc) public int lGetPreferredHeight(int w)(Code)(Java Doc) public int lGetPreferredWidth(int h)(Code)(Java Doc) void lGetRequestedSizes()(Code)(Java Doc) void lHideNativeResource()(Code)(Java Doc) void lMove(int deltaX, int deltaY)(Code)(Java Doc) public void lRemoveCommand(Command cmd, int i)(Code)(Java Doc) void lRequestInvalidate(boolean width, boolean height)(Code)(Java Doc) void lRequestPaint()(Code)(Java Doc) void lRequestPaint(int x, int y, int w, int h)(Code)(Java Doc) public void lSetDefaultCommand(Command cmd, int i)(Code)(Java Doc) public void lSetLabel(String label)(Code)(Java Doc) public void lSetLayout(int layout)(Code)(Java Doc) void lSetLocation(int x, int y)(Code)(Java Doc) public void lSetOwner(Screen oldOwner)(Code)(Java Doc) public void lSetPreferredSize(int width, int height)(Code)(Java Doc) final void lSetRequestedSizes(int mw, int mh, int pw, int ph)(Code)(Java Doc) void lSetSize(int w, int h)(Code)(Java Doc) void lShowNativeResource()(Code)(Java Doc) native void setLabel0(int nativeId, String label)(Code)(Java Doc) boolean shouldHExpand()(Code)(Java Doc) boolean shouldHShrink()(Code)(Java Doc) boolean shouldVExpand()(Code)(Java Doc) boolean shouldVShrink()(Code)(Java Doc) void uCallHideNotify()(Code)(Java Doc) void uCallKeyPressed(int keyCode)(Code)(Java Doc) void uCallKeyReleased(int keyCode)(Code)(Java Doc) void uCallKeyRepeated(int keyCode)(Code)(Java Doc) void uCallPaint(Graphics g, int w, int h)(Code)(Java Doc) abstract boolean uCallPeerStateChanged(int hint)(Code)(Java Doc) void uCallPointerDragged(int x, int y)(Code)(Java Doc) void uCallPointerPressed(int x, int y)(Code)(Java Doc) void uCallPointerReleased(int x, int y)(Code)(Java Doc) void uCallShowNotify()(Code)(Java Doc) void uCallSizeChanged(int w, int h)(Code)(Java Doc) boolean uCallTraverse(int dir, int viewportWidth, int viewportHeight, int[] visRect_inout)(Code)(Java Doc) void uCallTraverseOut()(Code)(Java Doc)
|
|
|