- SAMARITAN - Static variable in class ej.microui.display.Font
-
Constant for samaritan font identifier.
- SAURASHTRA - Static variable in class ej.microui.display.Font
-
Constant for saurashtra font identifier.
- SELECT - Static variable in class ej.microui.event.generator.Command
-
The "select" command constant.
- send(int, int) - Method in class ej.microui.event.generator.Buttons
-
Sends a MicroUI event for the given action on given button to the listener of the Buttons.
- send(int) - Method in class ej.microui.event.generator.Command
-
Sends the given command to the event generator's listener
- send(int, char) - Method in class ej.microui.event.generator.Keyboard
-
Send an keyboard event to the MicroUI application.
- send(int, int) - Method in class ej.microui.event.generator.Pointer
-
Sends a MicroUI event for the given action on given button to the listener of the Pointer.
- send(int, int) - Method in class ej.microui.event.generator.States
-
Stores the given state value and sends a MicroUI
Event.STATE
to the States's listener.
- sendEvent(int) - Method in class ej.microui.event.EventGenerator
-
- setAction(ImageFlip.Action) - Method in class ej.microui.display.transform.ImageFlip
-
- setAlpha(int) - Method in class ej.microui.display.transform.AbstractTransform
-
Specifiy the global opacity to apply on drawing.
- setAngle(int) - Method in class ej.microui.display.transform.ImageRotation
-
Set the new rotation angle.
- setBackgroundColor(int) - Method in class ej.microui.display.GraphicsContext
-
Sets the current background color.
Given value rgbColor
is interpreted as a 24-bit RGB color, where the eight least significant bits
matches the blue component, the next eight more significant bits matches the green component and the next eight
more significant bits matches the red component.
The background color is used by several drawings: draw text, draw anti-aliased line etc.
- setBacklight(int) - Method in class ej.microui.display.Display
-
Sets the backlight of the display.
- setBacklightColor(int) - Method in class ej.microui.display.Display
-
Sets the current backlight color, if it is allowed by implementation.
- setCaps(AntiAliasedShapes.Cap, AntiAliasedShapes.Cap) - Method in class ej.microui.display.shape.AntiAliasedShapes
-
Configures the caps representation.
- setClip(int, int, int, int) - Method in class ej.microui.display.GraphicsContext
-
Sets the current clipping zone to the rectangle defined by the given location (x,y)
and size
(width,height)
.
- setColor(int) - Method in class ej.microui.display.GraphicsContext
-
Sets the current color.
Given value rgbColor
is interpreted as a 24-bit RGB color, where the eight least significant bits
matches the blue component, the next eight more significant bits matches the green component and the next eight
more significant bits matches the red component.
- setContrast(int) - Method in class ej.microui.display.Display
-
Sets the contrast of the display.
- setDelay(int) - Method in class ej.microui.event.generator.Keypad
-
Sets the delay The delay is the value between two press that allows to select a letter out of several.
- setEllipsis(boolean) - Method in class ej.microui.display.GraphicsContext
-
Enables (disables) truncation when rendering characters.
- setEndCap(AntiAliasedShapes.Cap) - Method in class ej.microui.display.shape.AntiAliasedShapes
-
Configures the cap representation of end of shape.
- setEventHandler(EventHandler) - Method in class ej.microui.event.EventGenerator
-
Sets an event handler to this event generator.
- setFactor(float) - Method in class ej.microui.display.transform.ImageScale
-
Set a new scaling factor.
- setFactorX(float) - Method in class ej.microui.display.transform.ImageScale
-
Set a new scaling X factor.
- setFactorY(float) - Method in class ej.microui.display.transform.ImageScale
-
Set a new scaling Y factor.
- setFade(int) - Method in class ej.microui.display.shape.AntiAliasedShapes
-
Apply a new fade
.
- setFlyingImage(FlyingImage) - Method in class ej.microui.event.generator.Pointer
-
A Pointer generator manages positioning an image automatically if such image is set.
- setFlyingImage(FlyingImage, int, int) - Method in class ej.microui.event.generator.Pointer
-
A Pointer generator manages positioning an image automatically if such image is set.
- setFont(Font) - Method in class ej.microui.display.GraphicsContext
-
Sets the font for subsequent text operations.
- setLanguage(String) - Method in class ej.microui.event.generator.Keypad
-
Sets the language.
- setLedIntensity(int, int) - Static method in class ej.microui.led.Leds
-
Controls the intensity of the specified LED.
- setLedOff(int) - Static method in class ej.microui.led.Leds
-
Turns off the given LED.
- setLedOn(int) - Static method in class ej.microui.led.Leds
-
Turns on the given LED.
- setLocation(int, int) - Method in class ej.microui.display.FlyingImage
-
Sets the location of the FlyingImage
.
- setMirror(boolean) - Method in class ej.microui.display.transform.AbstractTransform
-
Apply a vertical mirror on source image before drawing it.
- setMode(int) - Method in class ej.microui.event.generator.Keypad
-
Sets the mode.
- setOrigin(int, int) - Method in class ej.microui.event.generator.Pointer
-
Sets an origin offset.
- setPriority(int) - Method in class ej.microui.display.Display
-
Sets the priority of the display events processing.
- setProperty(String, String) - Method in class ej.microui.event.generator.GenericEventGenerator
-
Called at startup to configure the event generator with the specific properties set in the .microui file.
- setRatios(float, float) - Method in class ej.microui.display.Font
-
Sets x and y ratios.
- setRotationCenter(int, int) - Method in class ej.microui.display.transform.ImageRotation
-
Set the new rotation center coordinates.
- setScale(Display) - Method in class ej.microui.event.generator.Pointer
-
Sets a display area for scaled area.
same as setScale(display.getWidth(), display.getHeight())
- setScale(int, int) - Method in class ej.microui.event.generator.Pointer
-
Sets a scaled area.
- setStartCap(AntiAliasedShapes.Cap) - Method in class ej.microui.display.shape.AntiAliasedShapes
-
Configures the cap representation of start of shape.
- setStrokeStyle(int) - Method in class ej.microui.display.GraphicsContext
-
Sets the stroke style of this graphics context.
- setThickness(int) - Method in class ej.microui.display.shape.AntiAliasedShapes
-
Apply a new thickness
.
- setUncaughtExceptionHandler(UncaughtExceptionHandler) - Static method in class ej.microui.MicroUI
-
Sets the exception handler called when an exception occurred in the library.
- show() - Method in class ej.microui.display.Displayable
-
Sets the displayable as visible on its display.
- show() - Method in class ej.microui.display.FlyingImage
-
Sets the FlyingImage
as visible on its display.
- showNotify() - Method in class ej.microui.display.Displayable
-
This method is called by system as soon as the displayable becomes visible.
- SILVER - Static variable in interface ej.microui.display.Colors
-
The silver RGB color constant.
The value 0xc0c0c0
is assigned to SILVER
.
- Singleton - Static variable in class ej.microui.display.shape.AntiAliasedShapes
-
- Singleton - Static variable in class ej.microui.display.transform.ImageDeformation
-
Default instance created on MicroUI framework startup.
- Singleton - Static variable in class ej.microui.display.transform.ImageFlip
-
Default instance created on MicroUI framework startup.
- Singleton - Static variable in class ej.microui.display.transform.ImageRotation
-
Default instance created on MicroUI framework startup.
- Singleton - Static variable in class ej.microui.display.transform.ImageScale
-
Default instance created on MicroUI framework startup.
- SINHALA - Static variable in class ej.microui.display.Font
-
Constant for sinhala font identifier.
- SOLID - Static variable in class ej.microui.display.GraphicsContext
-
Constant for the SOLID
stroke style.
- START - Static variable in class ej.microui.event.generator.Command
-
The "start" command constant.
- start() - Static method in class ej.microui.MicroUI
-
Starts MicroUI.
It implies starting event serialization as well as rendering mechanisms.
This method does nothing if MicroUI is already started.
- STATE - Static variable in class ej.microui.event.Event
-
The STATE event type.
- States - Class in ej.microui.event.generator
-
A states event generator is usually associated to a group of physical devices holding a position (switch, rotary
wheel encoder, ...) and allows to generate events relating to them.
- States(int[], int[]) - Constructor for class ej.microui.event.generator.States
-
Creates a states generator.
- STOP - Static variable in class ej.microui.event.generator.Command
-
The "stop" command constant.
- stop() - Static method in class ej.microui.MicroUI
-
Stops MicroUI.
It implies stopping any potential event serialization as well as rendering mechanisms.
This method does nothing if MicroUI is already stopped.
- stringWidth(String) - Method in class ej.microui.display.Font
-
Gets the width of the given string with this font and its x ratio.
The width is the horizontal distance that would be occupied if the string was drawn using this font.
- STYLE_BOLD - Static variable in class ej.microui.display.Font
-
The bold style constant.
- STYLE_ITALIC - Static variable in class ej.microui.display.Font
-
The italic style constant.
- STYLE_PLAIN - Static variable in class ej.microui.display.Font
-
The plain style constant.
- STYLE_RESIZED - Static variable in class ej.microui.display.Font
-
The underlined style constant.
- STYLE_UNDERLINED - Static variable in class ej.microui.display.Font
-
The underlined style constant.
- substringWidth(String, int, int) - Method in class ej.microui.display.Font
-
Gets the width of the string from offset
to offset+len
with this font and its x ratio.
- SUNDANESE - Static variable in class ej.microui.display.Font
-
Constant for sundanese font identifier.
- supportsExtendedFeatures(int) - Method in class ej.microui.event.generator.Buttons
-
Returns true
if the button supports the extended features elapsedTime, click and doubleClick
features.
- switchBacklight(boolean) - Method in class ej.microui.display.Display
-
Switches on or off the backlight of the display.
- SYLOTI_NAGRI - Static variable in class ej.microui.display.Font
-
Constant for syloti nagri font identifier.
- SYRIAC - Static variable in class ej.microui.display.Font
-
Constant for syriac font identifier.