| com.sun.midp.chameleon.layers.PopupLayer com.sun.midp.chameleon.layers.InputModeLayer
InputModeLayer | public class InputModeLayer extends PopupLayer (Code) | | The InputModeLayer is a very simple overlay that displays to
the user the notion of the "current" input mode. The layer is
not interactive and is only visible when a text component is
currently selected.
|
anchor | protected int[] anchor(Code) | | |
mode | protected String mode(Code) | | A variable holding the current display mode label
|
stringHeight | protected int stringHeight(Code) | | |
stringWidth | protected int stringWidth(Code) | | The width in pixels (using the default font) of the mode name
|
InputModeLayer | public InputModeLayer()(Code) | | |
getDisplayMode | public String getDisplayMode()(Code) | | Get the text to be displayed which represents the display name of
the currently selected input mode
mode the display name of the currently selected input mode |
setAnchor | public void setAnchor(int anchorX, int anchorY, int itemH, int spaceBelow)(Code) | | |
setDisplayMode | public void setDisplayMode(String mode)(Code) | | Set the text to be displayed which represents the display name of
the currently selected input mode
Parameters: mode - the display name of the currently selected input mode |
updateLocation | protected void updateLocation()(Code) | | |
|
|