A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addChild(Widget) - Method in class ej.mwt.Container
-
Adds the specified widget to the end of the list of children of this container.
- addClassSelector(int) - Method in class ej.mwt.Widget
-
Adds a class selector.
- addOutline(int, int, int, int) - Method in interface ej.mwt.util.Outlineable
-
Adds the given outline.
- addOutline(int, int, int, int) - Method in class ej.mwt.util.Rectangle
- addOutline(int, int, int, int) - Method in class ej.mwt.util.Size
- AdjacentSiblingCombinator - Class in ej.mwt.stylesheet.selector.combinator
-
An adjacent sibling combinator selects by checking the widget immediate sibling.
- AdjacentSiblingCombinator(Selector, Selector) - Constructor for class ej.mwt.stylesheet.selector.combinator.AdjacentSiblingCombinator
-
Creates an adjacent sibling combinator.
- Alignment - Class in ej.mwt.util
-
Provides constants and utility methods in order to position a graphical object considering its alignment within an area or with an anchor point.
- AndCombinator - Class in ej.mwt.stylesheet.selector.combinator
-
An 'and' combinator selects the widgets selected by both selectors.
- AndCombinator(Selector, Selector) - Constructor for class ej.mwt.stylesheet.selector.combinator.AndCombinator
-
Creates an 'and' combinator.
- Animation - Interface in ej.mwt.animation
-
An animation is responsible for animating a element (usually a visual one).
- Animator - Class in ej.mwt.animation
-
An animator executes animations as fast as possible.
- Animator() - Constructor for class ej.mwt.animation.Animator
-
Creates an animator.
- Animator.AnimatorListener - Interface in ej.mwt.animation
-
Listener for animator events.
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.ClassSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.combinator.AdjacentSiblingCombinator
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.combinator.AndCombinator
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.combinator.ChildCombinator
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.combinator.DescendantCombinator
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.combinator.GeneralSiblingCombinator
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.DisabledSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.EnabledSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.EvenChildSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.FirstChildSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.LastChildSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.NotSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.NthChildSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.OddChildSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.RootSelector
- appliesToWidget(Widget) - Method in interface ej.mwt.stylesheet.selector.Selector
-
Checks whether or not this selector applies to the given widget.
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.StateSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.StrictTypeSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.TypeSelector
- appliesToWidget(Widget) - Method in class ej.mwt.stylesheet.selector.UniversalSelector
- apply(GraphicsContext, int, int) - Method in interface ej.mwt.style.background.Background
-
Applies the background on a graphics context.
- apply(GraphicsContext, int, int) - Method in class ej.mwt.style.background.ImageBackground
- apply(GraphicsContext, int, int) - Method in class ej.mwt.style.background.NoBackground
- apply(GraphicsContext, int, int) - Method in class ej.mwt.style.background.RectangularBackground
- apply(GraphicsContext, int, int) - Method in class ej.mwt.style.background.RoundedBackground
- apply(GraphicsContext, int, int) - Method in class ej.mwt.style.background.TiledImageBackground
- apply(GraphicsContext, Size) - Method in class ej.mwt.style.outline.border.FlexibleRectangularBorder
- apply(GraphicsContext, Size) - Method in class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
- apply(GraphicsContext, Size) - Method in class ej.mwt.style.outline.border.RectangularBorder
- apply(GraphicsContext, Size) - Method in class ej.mwt.style.outline.border.RoundedBorder
- apply(GraphicsContext, Size) - Method in class ej.mwt.style.outline.FlexibleOutline
- apply(GraphicsContext, Size) - Method in class ej.mwt.style.outline.NoOutline
- apply(GraphicsContext, Size) - Method in interface ej.mwt.style.outline.Outline
-
Applies the outline on a graphics context.
- apply(GraphicsContext, Size) - Method in class ej.mwt.style.outline.UniformOutline
- apply(Outlineable) - Method in class ej.mwt.style.outline.border.RectangularBorder
- apply(Outlineable) - Method in class ej.mwt.style.outline.border.RoundedBorder
- apply(Outlineable) - Method in class ej.mwt.style.outline.FlexibleOutline
- apply(Outlineable) - Method in class ej.mwt.style.outline.NoOutline
- apply(Outlineable) - Method in interface ej.mwt.style.outline.Outline
-
Removes the thickness of this outline from the given object.
- apply(Outlineable) - Method in class ej.mwt.style.outline.UniformOutline
- applyOutlines(Outlineable, Style) - Static method in class ej.mwt.util.OutlineHelper
-
Applies all the outlines of the given style on the given object.
- applyOutlinesAndBackground(GraphicsContext, Size, Style) - Static method in class ej.mwt.util.OutlineHelper
-
Applies the different outlines and the background on the given graphics context and the given size.
B
- Background - Interface in ej.mwt.style.background
-
Represents the background of the widgets.
- BACKGROUND - Static variable in class ej.mwt.style.DefaultStyle
-
The background of the default style.
- BORDER - Static variable in class ej.mwt.style.DefaultStyle
-
The border of the default style.
- BorderHelper - Class in ej.mwt.style.outline.border
-
Provides utility methods to draw borders.
- BOTTOM - Static variable in class ej.mwt.util.Alignment
-
Constant for positioning on the bottom.
- buildEvent(int) - Method in class ej.mwt.event.DesktopEventGenerator
-
Builds an event for the given action.
C
- CachedStylesheet - Class in ej.mwt.stylesheet
-
Wraps a stylesheet and provides a cache to avoid having several instances of the same style.
- CachedStylesheet(Stylesheet) - Constructor for class ej.mwt.stylesheet.CachedStylesheet
-
Creates a cached stylesheet with the given stylesheet to wrap and the default cache size.
- CachedStylesheet(Stylesheet, int) - Constructor for class ej.mwt.stylesheet.CachedStylesheet
-
Creates a cached stylesheet with the given stylesheet to wrap and the given cache size.
- CascadingStylesheet - Class in ej.mwt.stylesheet.cascading
-
Cascading stylesheet implementation strongly inspired by CSS.
- CascadingStylesheet() - Constructor for class ej.mwt.stylesheet.cascading.CascadingStylesheet
-
Creates a new cascading stylesheet.
- changeChildIndex(Widget, int) - Method in class ej.mwt.Container
-
Changes the position of the specified widget in the list of children of this container.
- checkHorizontalAlignment(int) - Static method in class ej.mwt.util.Alignment
-
Checks whether the given value represents a valid horizontal alignment.
- checkVerticalAlignment(int) - Static method in class ej.mwt.util.Alignment
-
Checks whether the given value represents a valid vertical alignment.
- ChildCombinator - Class in ej.mwt.stylesheet.selector.combinator
-
A child combinator selects by checking the widget direct hierarchy.
- ChildCombinator(Selector, Selector) - Constructor for class ej.mwt.stylesheet.selector.combinator.ChildCombinator
-
Creates a child combinator.
- ClassSelector - Class in ej.mwt.stylesheet.selector
-
A class selector selects from a class.
- ClassSelector(int) - Constructor for class ej.mwt.stylesheet.selector.ClassSelector
-
Creates a class selector.
- COLOR - Static variable in class ej.mwt.style.DefaultStyle
-
The color of the default style.
- Combinator - Class in ej.mwt.stylesheet.selector.combinator
-
A combinator is a selector that aggregates two selectors.
- Combinator(Selector, Selector) - Constructor for class ej.mwt.stylesheet.selector.combinator.Combinator
-
Creates a combinator.
- computeChildOptimalSize(Widget, int, int) - Method in class ej.mwt.Container
-
Computes the optimal size of a child of this container.
- computeContentOptimalSize(Size) - Method in class ej.mwt.Widget
-
Computes the optimal size of the widget.
- computeLeftX(int, int, int) - Static method in class ej.mwt.util.Alignment
-
Computes the x coordinate of the left edge of an object aligned on an anchor point.
- computeLeftX(int, int, int, int) - Static method in class ej.mwt.util.Alignment
-
Computes the x coordinate of the left edge of an object aligned in an area.
- computeOptimalSize(Widget, int, int, Size) - Method in interface ej.mwt.style.dimension.Dimension
-
Computes the optimal size of a widget.
- computeOptimalSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.FixedDimension
- computeOptimalSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.NoDimension
- computeOptimalSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.OptimalDimension
- computeOptimalSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.RelativeDimension
- computeTopY(int, int, int) - Static method in class ej.mwt.util.Alignment
-
Computes the y coordinate of the top edge of an object aligned on an anchor point.
- computeTopY(int, int, int, int) - Static method in class ej.mwt.util.Alignment
-
Computes the y coordinate of the top edge of an object aligned in an area.
- Container - Class in ej.mwt
-
A container is a widget that can contain other
Widget
instances, following the composite pattern. - Container() - Constructor for class ej.mwt.Container
-
Creates a container.
- Container(boolean) - Constructor for class ej.mwt.Container
-
Creates a container specifying if its enabled or not.
- contains(int, int) - Method in class ej.mwt.Widget
-
Gets whether or not a position (x,y) is in the widget's bounds.
- containsWidget(Widget) - Method in class ej.mwt.Desktop
-
Returns whether or not this desktop contains the given widget.
- containsWidget(Widget) - Method in class ej.mwt.Widget
-
Returns whether or not this widget contains the given widget in its hierarchy.
- createEventDispatcher() - Method in class ej.mwt.Desktop
-
Creates the event dispatcher which is responsible for dispatching events to the widgets.
- createEventGenerator() - Method in class ej.mwt.event.PointerEventDispatcher
-
Creates the event generator which is responsible for generating exit events to the widgets.
- createRenderPolicy() - Method in class ej.mwt.Desktop
-
Creates the render policy which is responsible for rendering the widgets.
D
- DEBUG_ANIMATOR_ENABLED_CONSTANT - Static variable in class ej.mwt.animation.Animator
-
BON boolean constant
to enable/disable the animator debug. - DEBUG_ANIMATOR_MONITOR_CONSTANT - Static variable in class ej.mwt.animation.Animator
-
BON Class constant
to set the animator monitor. - DEBUG_RENDER_ENABLED_CONSTANT - Static variable in class ej.mwt.render.RenderPolicy
-
BON boolean constant
to enable/disable the render debug. - DEBUG_RENDER_MONITOR_CONSTANT - Static variable in class ej.mwt.render.RenderPolicy
-
BON Class constant
to set the render monitor. - DefaultRenderPolicy - Class in ej.mwt.render
-
This render policy renders the requested widget or its parent if transparent.
- DefaultRenderPolicy(Desktop) - Constructor for class ej.mwt.render.DefaultRenderPolicy
-
Creates a default render policy.
- DefaultStyle - Class in ej.mwt.style
-
Defines the value of each field of the default style.
- DescendantCombinator - Class in ej.mwt.stylesheet.selector.combinator
-
A descendant combinator selects by checking the widget hierarchy.
- DescendantCombinator(Selector, Selector) - Constructor for class ej.mwt.stylesheet.selector.combinator.DescendantCombinator
-
Creates a descendant combinator.
- Desktop - Class in ej.mwt
-
A desktop is the top-level object that can be displayed on a
Display
. - Desktop() - Constructor for class ej.mwt.Desktop
-
Creates a new desktop.
- DesktopEventGenerator - Class in ej.mwt.event
-
This event generator is used by the
event dispatcher
of the desktop in order to send additional events to the widgets. - DesktopEventGenerator() - Constructor for class ej.mwt.event.DesktopEventGenerator
- Dimension - Interface in ej.mwt.style.dimension
-
Represents a dimension constraint for a widget.
- DIMENSION - Static variable in class ej.mwt.style.DefaultStyle
-
The dimension of the default style.
- DimensionHelper - Class in ej.mwt.style.dimension
-
Helps the dimensions to lay out a widget with a specific size.
- DISABLED_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.DisabledSelector
-
Disabled selector singleton to avoid creating several ones.
- DisabledSelector - Class in ej.mwt.stylesheet.selector
-
A disabled selector selects by checking if the widget is disabled.
- dispatchEvent(int) - Method in class ej.mwt.event.EventDispatcher
-
Dispatches an event.
- dispatchEvent(int) - Method in class ej.mwt.event.PointerEventDispatcher
- dispose() - Method in class ej.mwt.event.EventDispatcher
-
Disposes this event dispatcher.
- dispose() - Method in class ej.mwt.event.PointerEventDispatcher
- drawRectangularBorder(GraphicsContext, int, int, int, int, int, int) - Static method in class ej.mwt.style.outline.border.BorderHelper
-
Draw a rectangular border with the given dimensions and given thickness for each side, using the given graphics context.
E
- EditableStyle - Class in ej.mwt.style
-
An editable style is a simple implementation of a style.
- EditableStyle() - Constructor for class ej.mwt.style.EditableStyle
-
Creates an editable style from the default style.
- EditableStyle(EditableStyle) - Constructor for class ej.mwt.style.EditableStyle
-
Creates an editable style from an other one.
- ej.mwt - package ej.mwt
-
Contains base classes to create a widget hierarchy.
- ej.mwt.animation - package ej.mwt.animation
-
Contains animation framework.
- ej.mwt.event - package ej.mwt.event
-
Contains desktop event definition and default implementation.
- ej.mwt.render - package ej.mwt.render
-
Contains render policy definition and some implementations.
- ej.mwt.style - package ej.mwt.style
-
Contains style definition and default implementation.
- ej.mwt.style.background - package ej.mwt.style.background
-
Contains background definition and some implementations.
- ej.mwt.style.dimension - package ej.mwt.style.dimension
-
Contains dimension definition and some implementations.
- ej.mwt.style.outline - package ej.mwt.style.outline
-
Contains outline definition and some implementations.
- ej.mwt.style.outline.border - package ej.mwt.style.outline.border
-
Contains some border implementations.
- ej.mwt.stylesheet - package ej.mwt.stylesheet
-
Contains stylesheet definition and default implementation.
- ej.mwt.stylesheet.cascading - package ej.mwt.stylesheet.cascading
-
Contains cascading stylesheet implementation.
- ej.mwt.stylesheet.selector - package ej.mwt.stylesheet.selector
-
Contains selector definition and some implementations.
- ej.mwt.stylesheet.selector.combinator - package ej.mwt.stylesheet.selector.combinator
-
Contains combinator definition and some implementations.
- ej.mwt.util - package ej.mwt.util
-
Contains utility classes.
- ENABLED_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.EnabledSelector
-
Enabled selector singleton to avoid creating several ones.
- EnabledSelector - Class in ej.mwt.stylesheet.selector
-
An enabled selector selects by checking if the widget is enabled.
- equals(Object) - Method in interface ej.mwt.style.background.Background
- equals(Object) - Method in class ej.mwt.style.background.ImageBackground
- equals(Object) - Method in class ej.mwt.style.background.NoBackground
- equals(Object) - Method in class ej.mwt.style.background.RectangularBackground
- equals(Object) - Method in class ej.mwt.style.background.RoundedBackground
- equals(Object) - Method in class ej.mwt.style.background.TiledImageBackground
- equals(Object) - Method in interface ej.mwt.style.dimension.Dimension
- equals(Object) - Method in class ej.mwt.style.dimension.FixedDimension
- equals(Object) - Method in class ej.mwt.style.dimension.NoDimension
- equals(Object) - Method in class ej.mwt.style.dimension.OptimalDimension
- equals(Object) - Method in class ej.mwt.style.dimension.RelativeDimension
- equals(Object) - Method in class ej.mwt.style.EditableStyle
- equals(Object) - Method in class ej.mwt.style.outline.border.FlexibleRectangularBorder
- equals(Object) - Method in class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
- equals(Object) - Method in class ej.mwt.style.outline.border.RectangularBorder
- equals(Object) - Method in class ej.mwt.style.outline.border.RoundedBorder
- equals(Object) - Method in class ej.mwt.style.outline.FlexibleOutline
- equals(Object) - Method in class ej.mwt.style.outline.NoOutline
- equals(Object) - Method in interface ej.mwt.style.outline.Outline
- equals(Object) - Method in class ej.mwt.style.outline.UniformOutline
- equals(Object) - Method in interface ej.mwt.style.Style
- equals(Object) - Method in class ej.mwt.stylesheet.selector.ClassSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.combinator.Combinator
- equals(Object) - Method in class ej.mwt.stylesheet.selector.DisabledSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.EnabledSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.EvenChildSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.FirstChildSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.LastChildSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.NotSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.NthChildSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.OddChildSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.RootSelector
- equals(Object) - Method in interface ej.mwt.stylesheet.selector.Selector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.StateSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.StrictTypeSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.TypeSelector
- equals(Object) - Method in class ej.mwt.stylesheet.selector.UniversalSelector
- EVEN_CHILD_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.EvenChildSelector
-
Even child selector singleton to avoid creating several ones.
- EvenChildSelector - Class in ej.mwt.stylesheet.selector
-
An even child selector selects by checking if a widget is at an even position in its parent (1, 3, 5,…).
- EVENT_TYPE - Static variable in class ej.mwt.event.DesktopEventGenerator
-
The DESKTOP event type.
- EventDispatcher - Class in ej.mwt.event
-
Dispatches the events received on a desktop to its children.
- EventDispatcher(Desktop) - Constructor for class ej.mwt.event.EventDispatcher
-
Creates an event dispatcher.
- EXITED - Static variable in class ej.mwt.event.PointerEventDispatcher
-
The "exited" action.
F
- FIRST_CHILD_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.FirstChildSelector
-
First child selector singleton to avoid creating several ones.
- FirstChildSelector - Class in ej.mwt.stylesheet.selector
-
A first child selector selects by checking if a widget is the first child of its parent.
- FixedDimension - Class in ej.mwt.style.dimension
-
Dimension with fixed width and/or height.
- FixedDimension(int, int) - Constructor for class ej.mwt.style.dimension.FixedDimension
-
Creates a fixed dimension with constraints.
- FlexibleOutline - Class in ej.mwt.style.outline
-
Flexible outline that has a different thickness for each edge.
- FlexibleOutline(int, int, int, int) - Constructor for class ej.mwt.style.outline.FlexibleOutline
-
Creates a flexible outline specifying its thickness for each edge.
- FlexibleRectangularBorder - Class in ej.mwt.style.outline.border
-
Represents and draw a rectangular colored border with one color.
- FlexibleRectangularBorder(int, int, int, int, int) - Constructor for class ej.mwt.style.outline.border.FlexibleRectangularBorder
-
Creates a flexible rectangular border specifying its color and edges thickness.
- FlexibleRectangularMulticoloredBorder - Class in ej.mwt.style.outline.border
-
Represents and draw a rectangular border with different thicknesses and colors.
- FlexibleRectangularMulticoloredBorder(int, int, int, int, int, int, int, int) - Constructor for class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
-
Creates a flexible rectangular border specifying its edges thickness and color.
G
- GeneralSiblingCombinator - Class in ej.mwt.stylesheet.selector.combinator
-
A general sibling combinator selects by checking the widget sibling.
- GeneralSiblingCombinator(Selector, Selector) - Constructor for class ej.mwt.stylesheet.selector.combinator.GeneralSiblingCombinator
-
Creates a general sibling combinator.
- getAbsoluteX() - Method in class ej.mwt.Widget
-
Gets the absolute x coordinate of the widget.
- getAbsoluteY() - Method in class ej.mwt.Widget
-
Gets the absolute y coordinate of the widget.
- getAction(int) - Static method in class ej.mwt.event.DesktopEventGenerator
-
Returns the action held by the given desktop event.
- getAnimator() - Method in class ej.mwt.Desktop
-
Gets the animator instance.
- getAvailableSize(Widget, int, int, Size) - Method in interface ej.mwt.style.dimension.Dimension
-
Gets the available size for a widget.
- getAvailableSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.FixedDimension
- getAvailableSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.NoDimension
- getAvailableSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.OptimalDimension
- getAvailableSize(Widget, int, int, Size) - Method in class ej.mwt.style.dimension.RelativeDimension
- getBackground() - Method in class ej.mwt.style.EditableStyle
- getBackground() - Method in interface ej.mwt.style.Style
-
Gets the background.
- getBorder() - Method in class ej.mwt.style.EditableStyle
- getBorder() - Method in interface ej.mwt.style.Style
-
Gets the border.
- getBorderThickness() - Method in class ej.mwt.style.background.RoundedBackground
-
Gets the border thickness.
- getBottom() - Method in class ej.mwt.style.outline.FlexibleOutline
-
Gets the bottom thickness.
- getChild(int) - Method in class ej.mwt.Container
-
Gets the widget at the specified index in this container.
- getChildIndex(Widget) - Method in class ej.mwt.Container
-
Gets the index of the specified widget in the list of children of this container.
- getChildren() - Method in class ej.mwt.Container
-
Gets the list of children in this container.
- getChildrenCount() - Method in class ej.mwt.Container
-
Gets the number of children in this container.
- getColor() - Method in class ej.mwt.style.background.RectangularBackground
-
Gets the color.
- getColor() - Method in class ej.mwt.style.background.RoundedBackground
-
Gets the color.
- getColor() - Method in class ej.mwt.style.EditableStyle
- getColor() - Method in class ej.mwt.style.outline.border.FlexibleRectangularBorder
-
Gets the color.
- getColor() - Method in class ej.mwt.style.outline.border.RectangularBorder
-
Gets the color.
- getColor() - Method in class ej.mwt.style.outline.border.RoundedBorder
-
Gets the color.
- getColor() - Method in interface ej.mwt.style.Style
-
Gets the color.
- getColorBottom() - Method in class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
-
Gets the bottom color.
- getColorLeft() - Method in class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
-
Gets the left color.
- getColorRight() - Method in class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
-
Gets the right color.
- getColorTop() - Method in class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
-
Gets the top color.
- getConsumerWidget() - Method in class ej.mwt.event.PointerEventDispatcher
-
Returns the widget which has consumed the ongoing pointer session.
- getContentBounds() - Method in class ej.mwt.Container
- getContentBounds() - Method in class ej.mwt.Widget
-
Gets the content bounds of this widget (the bounds minus the outlines).
- getContentHeight() - Method in class ej.mwt.Container
-
Gets the content height of this container.
- getContentWidth() - Method in class ej.mwt.Container
-
Gets the content width of this container.
- getContentX() - Method in class ej.mwt.Container
-
Gets the content x of this container.
- getContentY() - Method in class ej.mwt.Container
-
Gets the content y of this container.
- getCornerRadius() - Method in class ej.mwt.style.background.RoundedBackground
-
Gets the corner radius.
- getCornerRadius() - Method in class ej.mwt.style.outline.border.RoundedBorder
-
Gets the corner radius.
- getDefaultStyle() - Method in class ej.mwt.stylesheet.cascading.CascadingStylesheet
-
Gets the default style.
- getDesktop() - Method in class ej.mwt.event.EventDispatcher
-
Returns the desktop managed by this dispatcher.
- getDesktop() - Method in class ej.mwt.render.RenderPolicy
-
Returns the desktop managed by this render policy.
- getDesktop() - Method in class ej.mwt.Widget
-
Gets the desktop to which this widget has been added.
- getDimension() - Method in class ej.mwt.style.EditableStyle
- getDimension() - Method in interface ej.mwt.style.Style
-
Gets the dimension.
- getEventDispatcher() - Method in class ej.mwt.Desktop
-
Gets the event dispatcher of this desktop.
- getEventGenerator() - Method in class ej.mwt.event.PointerEventDispatcher
-
Gets the event generator of this dispatcher.
- getEventType() - Method in class ej.mwt.event.DesktopEventGenerator
- getExtraFloat(int, float) - Method in class ej.mwt.style.EditableStyle
- getExtraFloat(int, float) - Method in interface ej.mwt.style.Style
-
Gets an extra field as a float.
- getExtraInt(int, int) - Method in class ej.mwt.style.EditableStyle
- getExtraInt(int, int) - Method in interface ej.mwt.style.Style
-
Gets an extra field as an int.
- getExtraObject(int, Class<T>, T) - Method in class ej.mwt.style.EditableStyle
- getExtraObject(int, Class<T>, T) - Method in interface ej.mwt.style.Style
-
Gets an extra field as an object of the given type.
- getFirstSelector() - Method in class ej.mwt.stylesheet.selector.combinator.Combinator
-
Returns the first selector of this combinator.
- getFont() - Method in class ej.mwt.style.EditableStyle
- getFont() - Method in interface ej.mwt.style.Style
-
Gets the font.
- getHeight() - Method in class ej.mwt.style.dimension.FixedDimension
-
Returns the height constraint.
- getHeight() - Method in class ej.mwt.util.Rectangle
-
Gets the height.
- getHeight() - Method in class ej.mwt.util.Size
-
Gets the height.
- getHeight() - Method in class ej.mwt.Widget
-
Gets the height of this widget.
- getHeightRatio() - Method in class ej.mwt.style.dimension.RelativeDimension
-
Returns the height ratio.
- getHorizontalAlignment() - Method in class ej.mwt.style.EditableStyle
- getHorizontalAlignment() - Method in interface ej.mwt.style.Style
-
Gets the horizontal alignment.
- getLeft() - Method in class ej.mwt.style.outline.FlexibleOutline
-
Gets the left thickness.
- getMargin() - Method in class ej.mwt.style.EditableStyle
- getMargin() - Method in interface ej.mwt.style.Style
-
Gets the margin.
- getPadding() - Method in class ej.mwt.style.EditableStyle
- getPadding() - Method in interface ej.mwt.style.Style
-
Gets the padding.
- getParent() - Method in class ej.mwt.Widget
-
Gets the parent of this widget or
null
if the widget is not in a hierarchy or if it is the root of its hierarchy. - getPressedHierarchyLeaf() - Method in class ej.mwt.event.PointerEventDispatcher
-
Returns the leaf widget of the hierarchy which is subscribed to the ongoing pointer session.
- getRight() - Method in class ej.mwt.style.outline.FlexibleOutline
-
Gets the right thickness.
- getSecondSelector() - Method in class ej.mwt.stylesheet.selector.combinator.Combinator
-
Returns the second selector of this combinator.
- getSelectorStyle(Selector) - Method in class ej.mwt.stylesheet.cascading.CascadingStylesheet
-
Gets the style for a selector.
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.ClassSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.combinator.Combinator
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.DisabledSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.EnabledSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.EvenChildSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.FirstChildSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.LastChildSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.NotSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.NthChildSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.OddChildSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.RootSelector
- getSpecificity() - Method in interface ej.mwt.stylesheet.selector.Selector
-
Returns the specificity of this selector.
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.StateSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.StrictTypeSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.TypeSelector
- getSpecificity() - Method in class ej.mwt.stylesheet.selector.UniversalSelector
- getSpecificity(int, int, int, int) - Static method in class ej.mwt.stylesheet.selector.SelectorHelper
-
Computes the specificity of a selector.
- getStyle() - Method in class ej.mwt.Widget
-
Gets the current style of the widget.
- getStyle(Widget) - Method in class ej.mwt.stylesheet.CachedStylesheet
- getStyle(Widget) - Method in class ej.mwt.stylesheet.cascading.CascadingStylesheet
- getStyle(Widget) - Method in interface ej.mwt.stylesheet.Stylesheet
-
Gets the style for a widget.
- getStyle(Widget) - Method in class ej.mwt.stylesheet.VoidStylesheet
- getStylesheet() - Method in class ej.mwt.Desktop
-
Gets the stylesheet instance.
- getThickness() - Method in class ej.mwt.style.outline.border.RectangularBorder
-
Gets the thickness.
- getThickness() - Method in class ej.mwt.style.outline.border.RoundedBorder
-
Gets the thickness.
- getThickness() - Method in class ej.mwt.style.outline.UniformOutline
-
Gets the thickness.
- getTop() - Method in class ej.mwt.style.outline.FlexibleOutline
-
Gets the top thickness.
- getVerticalAlignment() - Method in class ej.mwt.style.EditableStyle
- getVerticalAlignment() - Method in interface ej.mwt.style.Style
-
Gets the vertical alignment.
- getWidget() - Method in class ej.mwt.Desktop
-
Gets the widget attached to this desktop.
- getWidgetAt(int, int) - Method in class ej.mwt.Container
-
Returns the child widget that is at the specified position.
- getWidgetAt(int, int) - Method in class ej.mwt.Desktop
-
Returns the child widget at the specified position.
- getWidgetAt(int, int) - Method in class ej.mwt.Widget
-
Gets the widget at the specified position.
- getWidth() - Method in class ej.mwt.style.dimension.FixedDimension
-
Returns the width constraint.
- getWidth() - Method in class ej.mwt.util.Rectangle
-
Gets the width.
- getWidth() - Method in class ej.mwt.util.Size
-
Gets the width.
- getWidth() - Method in class ej.mwt.Widget
-
Gets the width of this widget.
- getWidthRatio() - Method in class ej.mwt.style.dimension.RelativeDimension
-
Returns the width ratio.
- getX() - Method in class ej.mwt.util.Rectangle
-
Gets the x coordinate.
- getX() - Method in class ej.mwt.Widget
-
Gets the x coordinate of this widget, relative to its parent.
- getY() - Method in class ej.mwt.util.Rectangle
-
Gets the y coordinate.
- getY() - Method in class ej.mwt.Widget
-
Gets the y coordinate of this widget, relative to its parent.
H
- handleEvent(int) - Method in class ej.mwt.Desktop
-
Handles an event by delegating it to the event dispatcher.
- handleEvent(int) - Method in class ej.mwt.Widget
-
Handles the given event.
- hasClassSelector(int) - Method in class ej.mwt.Widget
-
Gets whether or not the widget has the given class selector.
- hashCode() - Method in interface ej.mwt.style.background.Background
- hashCode() - Method in class ej.mwt.style.background.ImageBackground
- hashCode() - Method in class ej.mwt.style.background.NoBackground
- hashCode() - Method in class ej.mwt.style.background.RectangularBackground
- hashCode() - Method in class ej.mwt.style.background.RoundedBackground
- hashCode() - Method in class ej.mwt.style.background.TiledImageBackground
- hashCode() - Method in interface ej.mwt.style.dimension.Dimension
- hashCode() - Method in class ej.mwt.style.dimension.FixedDimension
- hashCode() - Method in class ej.mwt.style.dimension.NoDimension
- hashCode() - Method in class ej.mwt.style.dimension.OptimalDimension
- hashCode() - Method in class ej.mwt.style.dimension.RelativeDimension
- hashCode() - Method in class ej.mwt.style.EditableStyle
- hashCode() - Method in class ej.mwt.style.outline.border.FlexibleRectangularBorder
- hashCode() - Method in class ej.mwt.style.outline.border.FlexibleRectangularMulticoloredBorder
- hashCode() - Method in class ej.mwt.style.outline.border.RectangularBorder
- hashCode() - Method in class ej.mwt.style.outline.border.RoundedBorder
- hashCode() - Method in class ej.mwt.style.outline.FlexibleOutline
- hashCode() - Method in class ej.mwt.style.outline.NoOutline
- hashCode() - Method in interface ej.mwt.style.outline.Outline
- hashCode() - Method in class ej.mwt.style.outline.UniformOutline
- hashCode() - Method in interface ej.mwt.style.Style
- hashCode() - Method in class ej.mwt.stylesheet.selector.ClassSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.combinator.Combinator
- hashCode() - Method in class ej.mwt.stylesheet.selector.DisabledSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.EnabledSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.EvenChildSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.FirstChildSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.LastChildSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.NotSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.NthChildSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.OddChildSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.RootSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.StateSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.StrictTypeSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.TypeSelector
- hashCode() - Method in class ej.mwt.stylesheet.selector.UniversalSelector
- HCENTER - Static variable in class ej.mwt.util.Alignment
-
Constant for centering horizontally.
- HORIZONTAL_ALIGNMENT - Static variable in class ej.mwt.style.DefaultStyle
-
The horizontal alignment of the default style.
I
- ImageBackground - Class in ej.mwt.style.background
-
Draws an image on the background.
- ImageBackground(Image) - Constructor for class ej.mwt.style.background.ImageBackground
-
Creates an image background aligned on the top-left corner.
- ImageBackground(Image, int, int) - Constructor for class ej.mwt.style.background.ImageBackground
-
Creates an image background specifying its alignment.
- indicateRenderRequested() - Method in class ej.mwt.animation.Animator
-
Indicates to this animator that a render has been requested.
- initialize() - Method in class ej.mwt.event.EventDispatcher
-
Initializes this event dispatcher.
- initialize() - Method in class ej.mwt.event.PointerEventDispatcher
- insertChild(Widget, int) - Method in class ej.mwt.Container
-
Inserts the specified widget at the specified index in the list of children of this container.
- isAttached() - Method in class ej.mwt.Desktop
-
Gets whether this desktop is attached or not.
- isAttached() - Method in class ej.mwt.Widget
-
Gets whether this widget is attached or not.
- isEnabled() - Method in class ej.mwt.Widget
-
Gets whether or not this widget is enabled.
- isExited(int) - Static method in class ej.mwt.event.PointerEventDispatcher
-
Returns whether or not the given event is an exited event.
- isInState(int) - Method in class ej.mwt.Widget
-
Gets whether or not the widget is in the given state.
- isShown() - Method in class ej.mwt.Desktop
-
Checks whether the desktop is visible on the display.
- isShown() - Method in class ej.mwt.Widget
-
Gets whether this widget is shown or not.
- isTransparent() - Method in class ej.mwt.Widget
-
Tells whether or not this widget is transparent.
- isTransparent(int, int) - Method in interface ej.mwt.style.background.Background
-
Tells whether or not this background is transparent.
- isTransparent(int, int) - Method in class ej.mwt.style.background.ImageBackground
- isTransparent(int, int) - Method in class ej.mwt.style.background.NoBackground
- isTransparent(int, int) - Method in class ej.mwt.style.background.RectangularBackground
- isTransparent(int, int) - Method in class ej.mwt.style.background.RoundedBackground
- isTransparent(int, int) - Method in class ej.mwt.style.background.TiledImageBackground
L
- LAST_CHILD_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.LastChildSelector
-
Last child selector singleton to avoid creating several ones.
- LastChildSelector - Class in ej.mwt.stylesheet.selector
-
A last child selector selects by checking if a widget is the last child of its parent.
- layOut(Widget, Rectangle) - Method in interface ej.mwt.style.dimension.Dimension
-
Lays out a widget.
- layOut(Widget, Rectangle) - Method in class ej.mwt.style.dimension.FixedDimension
- layOut(Widget, Rectangle) - Method in class ej.mwt.style.dimension.NoDimension
- layOut(Widget, Rectangle) - Method in class ej.mwt.style.dimension.OptimalDimension
- layOut(Widget, Rectangle) - Method in class ej.mwt.style.dimension.RelativeDimension
- layOut(Widget, Rectangle, boolean, boolean, int, int) - Static method in class ej.mwt.style.dimension.DimensionHelper
-
Lays out a widget.
- layOutAlignedChild(Widget, int, int, int, int, int, int) - Method in class ej.mwt.Container
-
Lays out a child of this container in a similar fashion to CSS absolute position.
- layOutChild(Widget, int, int, int, int) - Method in class ej.mwt.Container
-
Lays out a child of this container.
- layOutChildren(int, int) - Method in class ej.mwt.Container
-
Lays out the children of this container.
- LEFT - Static variable in class ej.mwt.util.Alignment
-
Constant for positioning on the left.
M
- MARGIN - Static variable in class ej.mwt.style.DefaultStyle
-
The margin of the default style.
- MAX_EXTRA_FIELDS - Static variable in class ej.mwt.style.EditableStyle
-
The maximum number of extra fields.
- MONITOR - Static variable in class ej.mwt.render.RenderPolicy
-
RenderPolicy.RenderListener
instance to be used by allRenderPolicy
implementations.
N
- NO_BACKGROUND - Static variable in class ej.mwt.style.background.NoBackground
-
No background singleton to avoid creating several ones.
- NO_CONSTRAINT - Static variable in class ej.mwt.Widget
-
A width or height hint equal to
NO_CONSTRAINT
means that there is no constraint on this dimension. - NO_DIMENSION - Static variable in class ej.mwt.style.dimension.NoDimension
-
NoDimension singleton to avoid creating several ones.
- NO_OUTLINE - Static variable in class ej.mwt.style.outline.NoOutline
-
No outline singleton to avoid creating several ones.
- NoBackground - Class in ej.mwt.style.background
-
A transparent background.
- NoDimension - Class in ej.mwt.style.dimension
-
Dimension without constraint.
- NoOutline - Class in ej.mwt.style.outline
-
An outline that is empty.
- NotSelector - Class in ej.mwt.stylesheet.selector
-
A not selector selects every widget that is not selected by its wrapped selector.
- NotSelector(Selector) - Constructor for class ej.mwt.stylesheet.selector.NotSelector
-
Creates a not selector.
- NthChildSelector - Class in ej.mwt.stylesheet.selector
-
A nth child selector selects by checking if a widget is the nth child of its parent.
- NthChildSelector(int) - Constructor for class ej.mwt.stylesheet.selector.NthChildSelector
-
Creates a nth child selector.
O
- ODD_CHILD_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.OddChildSelector
-
Odd child selector singleton to avoid creating several ones.
- OddChildSelector - Class in ej.mwt.stylesheet.selector
-
An odd child selector selects by checking if a widget is at an odd position in its parent (0, 2, 4,…).
- onAttached() - Method in class ej.mwt.Widget
-
This method is called as soon as: the widget is attached to a desktop that is attached, the desktop of the widget is attached.
- onDetached() - Method in class ej.mwt.Widget
-
This method is called as soon as: the widget is detached from a desktop that is attached, the desktop of the widget is detached.
- onHidden() - Method in class ej.mwt.Desktop
-
This method is called by the system as soon as the desktop is hidden from the display.
- onHidden() - Method in class ej.mwt.Widget
-
This method is called as soon as the widget is no more visible on the display.
- onLaidOut() - Method in class ej.mwt.Widget
-
This method is called as soon as the widget bounds are set.
- onRenderExecuted(Widget, int, int, int, int) - Method in interface ej.mwt.render.RenderPolicy.RenderListener
-
Handles a render execution notification.
- onRenderRequested(Widget, int, int, int, int) - Method in interface ej.mwt.render.RenderPolicy.RenderListener
-
Handles a render request notification.
- onShown() - Method in class ej.mwt.Desktop
-
This method is called by the system as soon as the desktop is shown on the display.
- onShown() - Method in class ej.mwt.Widget
-
This method is called as soon as the widget is visible on the display.
- onVoidTick(Animation[]) - Method in interface ej.mwt.animation.Animator.AnimatorListener
-
Handles the case when none of the animations has requested a render during an animator tick.
- OPTIMAL_DIMENSION_X - Static variable in class ej.mwt.style.dimension.OptimalDimension
-
Optimal dimension using widget's optimal width.
- OPTIMAL_DIMENSION_XY - Static variable in class ej.mwt.style.dimension.OptimalDimension
-
Optimal dimension using widget's optimal width and height.
- OPTIMAL_DIMENSION_Y - Static variable in class ej.mwt.style.dimension.OptimalDimension
-
Optimal dimension using widget's optimal height.
- OptimalDimension - Class in ej.mwt.style.dimension
-
Dimension which fits the optimal size of the widget.
- Outline - Interface in ej.mwt.style.outline
-
Represents an outline that wraps a rectangle.
- Outlineable - Interface in ej.mwt.util
-
Represents a two-dimensional object to which outlines can be added or removed.
- OutlineHelper - Class in ej.mwt.util
-
Provides utility methods to apply outlines and backgrounds.
- OverlapRenderPolicy - Class in ej.mwt.render
-
This render policy keeps the initial order of the widgets.
- OverlapRenderPolicy(Desktop) - Constructor for class ej.mwt.render.OverlapRenderPolicy
-
Creates an overlap render policy.
P
- PADDING - Static variable in class ej.mwt.style.DefaultStyle
-
The padding of the default style.
- PointerEventDispatcher - Class in ej.mwt.event
-
Dispatches the pointer events received on a desktop to its children.
- PointerEventDispatcher(Desktop) - Constructor for class ej.mwt.event.PointerEventDispatcher
-
Creates a desktop event dispatcher.
R
- Rectangle - Class in ej.mwt.util
-
Represents a rectangle with a position and a size.
- Rectangle(int, int, int, int) - Constructor for class ej.mwt.util.Rectangle
-
Creates a rectangle specifying its bounds.
- Rectangle(Rectangle) - Constructor for class ej.mwt.util.Rectangle
-
Creates a rectangle from the bounds of another rectangle.
- RectangularBackground - Class in ej.mwt.style.background
-
Draws a plain color on the background with a rectangular border.
- RectangularBackground(int) - Constructor for class ej.mwt.style.background.RectangularBackground
-
Creates a rectangular background with no border.
- RectangularBorder - Class in ej.mwt.style.outline.border
-
Represents and draw a rectangular colored border.
- RectangularBorder(int, int) - Constructor for class ej.mwt.style.outline.border.RectangularBorder
-
Creates a rectangular border specifying its thickness.
- RelativeDimension - Class in ej.mwt.style.dimension
-
Dimension with constraint relative to the parent.
- RelativeDimension(float, float) - Constructor for class ej.mwt.style.dimension.RelativeDimension
-
Creates a relative dimension with constraints.
- removeAllChildren() - Method in class ej.mwt.Container
-
Removes all the children of this container.
- removeAllClassSelectors() - Method in class ej.mwt.Widget
-
Removes all the class selectors.
- removeChild(Widget) - Method in class ej.mwt.Container
-
Removes the specified widget from the list of children of this container.
- removeClassSelector(int) - Method in class ej.mwt.Widget
-
Removes a class selector.
- removeOutline(int, int, int, int) - Method in interface ej.mwt.util.Outlineable
-
Removes the given outline.
- removeOutline(int, int, int, int) - Method in class ej.mwt.util.Rectangle
- removeOutline(int, int, int, int) - Method in class ej.mwt.util.Size
- render(GraphicsContext) - Method in class ej.mwt.Desktop
-
The desktop is rendered using the given graphics context.
- render(GraphicsContext) - Method in class ej.mwt.Widget
-
Renders the widget on the given graphics context.
- renderChild(Widget, GraphicsContext) - Method in class ej.mwt.Container
-
Renders a child of this container.
- renderContent(GraphicsContext, int, int) - Method in class ej.mwt.Container
-
Renders the content of the widget without the border, margin and padding specified in the style.
- renderContent(GraphicsContext, int, int) - Method in class ej.mwt.Widget
-
Renders the content of the widget without the border, margin and padding specified in the style.
- renderDesktop() - Method in class ej.mwt.render.DefaultRenderPolicy
-
Renders the desktop on the display.
- renderDesktop() - Method in class ej.mwt.render.RenderPolicy
-
Renders the desktop on the display.
- RenderPolicy - Class in ej.mwt.render
-
A render policy is responsible of rendering the widgets of a desktop on the display.
- RenderPolicy(Desktop) - Constructor for class ej.mwt.render.RenderPolicy
-
Creates a render policy.
- RenderPolicy.RenderListener - Interface in ej.mwt.render
-
Listener for render events (when it is requested and when it is actually executed).
- renderWidget(GraphicsContext, Widget) - Method in class ej.mwt.Desktop
-
Renders a widget.
- renderWidget(GraphicsContext, Widget) - Method in class ej.mwt.render.RenderPolicy
-
Performs the increment render of the widget.
- renderWidget(Widget, int, int, int, int) - Method in class ej.mwt.render.DefaultRenderPolicy
-
This method performs the increment render of the widget.
- renderWidget(Widget, int, int, int, int) - Method in class ej.mwt.render.OverlapRenderPolicy
- replaceChild(int, Widget) - Method in class ej.mwt.Container
-
Replaces the child at the specified index in the list of children of this container by the specified widget.
- requestHide() - Method in class ej.mwt.Desktop
-
Hides the desktop from the display.
- requestLayOut() - Method in class ej.mwt.Desktop
-
Requests a lay out of all the hierarchy of this desktop.
- requestLayOut() - Method in class ej.mwt.Widget
-
Requests a lay out of all the widgets in the sub hierarchy of this widget.
- requestRender() - Method in class ej.mwt.Desktop
- requestRender() - Method in class ej.mwt.Widget
-
Requests a render of this entire widget on the display.
- requestRender(int, int, int, int) - Method in class ej.mwt.Widget
-
Requests a render of a zone of this widget on the display.
- requestRender(Widget, int, int, int, int) - Method in class ej.mwt.render.DefaultRenderPolicy
- requestRender(Widget, int, int, int, int) - Method in class ej.mwt.render.RenderPolicy
-
Requests a rendering of the given widget on the display.
- requestShow() - Method in class ej.mwt.Desktop
-
Shows the desktop on the display.
- reset() - Method in class ej.mwt.stylesheet.cascading.CascadingStylesheet
-
Resets the stylesheet to its initial state.
- resetDefaultStyle() - Method in class ej.mwt.stylesheet.cascading.CascadingStylesheet
-
Resets the default style attributes to their initial value.
- resetSelectorStyle(Selector) - Method in class ej.mwt.stylesheet.cascading.CascadingStylesheet
-
Resets the style attributes for a selector.
- RIGHT - Static variable in class ej.mwt.util.Alignment
-
Constant for positioning on the right.
- ROOT_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.RootSelector
-
Root selector singleton to avoid creating several ones.
- RootSelector - Class in ej.mwt.stylesheet.selector
-
A root selector selects by checking if a widget is the root widget of its hierarchy (i.e.
- RoundedBackground - Class in ej.mwt.style.background
-
Draws a plain color on the background with a round corner.
- RoundedBackground(int, int) - Constructor for class ej.mwt.style.background.RoundedBackground
-
Deprecated.
- RoundedBackground(int, int, int) - Constructor for class ej.mwt.style.background.RoundedBackground
-
Creates a rounded background.
- RoundedBorder - Class in ej.mwt.style.outline.border
-
Draws a uniform border with round corners.
- RoundedBorder(int, int, int) - Constructor for class ej.mwt.style.outline.border.RoundedBorder
-
Creates a rounded border specifying its attributes.
S
- Selector - Interface in ej.mwt.stylesheet.selector
-
Represents a selector.
- SelectorHelper - Class in ej.mwt.stylesheet.selector
-
Provides utility methods related to selectors.
- send(int) - Method in class ej.mwt.event.DesktopEventGenerator
-
Sends a desktop event for the given action to the event handler of this event generator.
- sendEventToWidget(Widget, int) - Method in class ej.mwt.event.EventDispatcher
-
Sends the given event to the given widget.
- sendEventToWidgetHierarchy(Widget, int) - Method in class ej.mwt.event.EventDispatcher
-
Sends the given event to the given widget and to each of its ancestors.
- setAttached() - Method in class ej.mwt.Desktop
-
Sets this desktop as attached.
- setBackground(Background) - Method in class ej.mwt.style.EditableStyle
-
Sets the background.
- setBorder(Outline) - Method in class ej.mwt.style.EditableStyle
-
Sets the border.
- setBounds(int, int, int, int) - Method in class ej.mwt.util.Rectangle
-
Sets the bounds of this rectangle.
- setClassSelectors(int[]) - Method in class ej.mwt.Widget
-
Sets the class selectors.
- setColor(int) - Method in class ej.mwt.style.EditableStyle
-
Sets the color.
- setDetached() - Method in class ej.mwt.Desktop
-
Sets this desktop as detached.
- setDimension(Dimension) - Method in class ej.mwt.style.EditableStyle
-
Sets the dimension.
- setEnabled(boolean) - Method in class ej.mwt.Widget
-
Sets this widget to be enabled or not.
- setExtraFloat(int, float) - Method in class ej.mwt.style.EditableStyle
-
Sets an extra field to the given float value.
- setExtraInt(int, int) - Method in class ej.mwt.style.EditableStyle
-
Sets an extra field to the given int value.
- setExtraObject(int, Object) - Method in class ej.mwt.style.EditableStyle
-
Sets an extra field to the given object value.
- setFont(Font) - Method in class ej.mwt.style.EditableStyle
-
Sets the font.
- setHeight(int) - Method in class ej.mwt.util.Rectangle
-
Sets the height.
- setHeight(int) - Method in class ej.mwt.util.Size
-
Sets the height.
- setHiddenChild(Widget) - Method in class ej.mwt.Container
-
Sets a child as hidden.
- setHiddenChildren() - Method in class ej.mwt.Container
-
Automatically declares children as hidden when this container is hidden.
- setHorizontalAlignment(int) - Method in class ej.mwt.style.EditableStyle
-
Sets the horizontal alignment.
- setMargin(Outline) - Method in class ej.mwt.style.EditableStyle
-
Sets the margin.
- setPadding(Outline) - Method in class ej.mwt.style.EditableStyle
-
Sets the padding.
- setParentClip(Widget, GraphicsContext) - Method in class ej.mwt.render.DefaultRenderPolicy
-
Clips and translates a graphics context to the absolute bounds of the parent of a widget.
- setPosition(int, int) - Method in class ej.mwt.util.Rectangle
-
Sets the position of this rectangle.
- setPosition(int, int) - Method in class ej.mwt.Widget
-
Sets the position of this widget.
- setShownChild(Widget) - Method in class ej.mwt.Container
-
Sets a child as shown.
- setShownChildren() - Method in class ej.mwt.Container
-
Automatically declares children as shown when this container is shown.
- setSize(int, int) - Method in class ej.mwt.util.Rectangle
-
Sets the size of this rectangle.
- setSize(int, int) - Method in class ej.mwt.util.Size
-
Sets the size.
- setStyle(Style) - Method in class ej.mwt.Widget
-
Sets the style of the widget.
- setStylesheet(Stylesheet) - Method in class ej.mwt.Desktop
-
Sets the stylesheet instance.
- setVerticalAlignment(int) - Method in class ej.mwt.style.EditableStyle
-
Sets the vertical alignment.
- setWidget(Widget) - Method in class ej.mwt.Desktop
-
Attaches a widget to this desktop.
- setWidth(int) - Method in class ej.mwt.util.Rectangle
-
Sets the width.
- setWidth(int) - Method in class ej.mwt.util.Size
-
Sets the width.
- setX(int) - Method in class ej.mwt.util.Rectangle
-
Sets the x coordinate.
- setY(int) - Method in class ej.mwt.util.Rectangle
-
Sets the y coordinate.
- Size - Class in ej.mwt.util
-
Represents a size (width and height).
- Size(int, int) - Constructor for class ej.mwt.util.Size
-
Creates a size specifying its values.
- Size(Size) - Constructor for class ej.mwt.util.Size
-
Creates a size from another size.
- startAnimation(Animation) - Method in class ej.mwt.animation.Animator
-
Starts an animation.
- StateSelector - Class in ej.mwt.stylesheet.selector
-
A state selector selects from a state.
- StateSelector(int) - Constructor for class ej.mwt.stylesheet.selector.StateSelector
-
Creates a state selector with one state.
- stopAllAnimations() - Method in class ej.mwt.animation.Animator
-
Stops all the animations.
- stopAnimation(Animation) - Method in class ej.mwt.animation.Animator
-
Stops an animation.
- StrictTypeSelector - Class in ej.mwt.stylesheet.selector
-
A type selector selects by checking the widget type (Java class).
- StrictTypeSelector(Class<? extends Widget>) - Constructor for class ej.mwt.stylesheet.selector.StrictTypeSelector
-
Creates a type selector.
- Style - Interface in ej.mwt.style
-
A style describes how widgets must be rendered on screen.
- Stylesheet - Interface in ej.mwt.stylesheet
-
Represents a stylesheet.
T
- tick(long) - Method in interface ej.mwt.animation.Animation
-
Called regularly by an animator.
- TiledImageBackground - Class in ej.mwt.style.background
-
Draws a repeated image on the background.
- TiledImageBackground(Image) - Constructor for class ej.mwt.style.background.TiledImageBackground
-
Creates a tiled image background aligned on the top-left corner and repeated horizontally and vertically.
- TiledImageBackground(Image, int, int, boolean, boolean) - Constructor for class ej.mwt.style.background.TiledImageBackground
-
Creates a tiled image background specifying its attributes.
- TOP - Static variable in class ej.mwt.util.Alignment
-
Constant for positioning on the top.
- TypeSelector - Class in ej.mwt.stylesheet.selector
-
A type or subtype selector selects by checking the widget type hierarchy (Java class).
- TypeSelector(Class<? extends Widget>) - Constructor for class ej.mwt.stylesheet.selector.TypeSelector
-
Creates a type or subtype selector.
U
- UniformOutline - Class in ej.mwt.style.outline
-
Outline that have the same thickness for all edges.
- UniformOutline(int) - Constructor for class ej.mwt.style.outline.UniformOutline
-
Creates a uniform outline specifying its thickness.
- UNIVERSAL_SELECTOR - Static variable in class ej.mwt.stylesheet.selector.UniversalSelector
-
Universal selector singleton to avoid creating several ones.
- UniversalSelector - Class in ej.mwt.stylesheet.selector
-
An universal selector selects all widgets.
- updateStyle() - Method in class ej.mwt.Container
-
Updates the style of this widget.
- updateStyle() - Method in class ej.mwt.Widget
-
Updates the style of this widget.
V
- validateExtraFieldId(int) - Static method in class ej.mwt.style.EditableStyle
-
Validates that the extra field ID is correct.
- validateHorizontalAlignment(int) - Static method in class ej.mwt.util.Alignment
-
Validates that the given value represents a valid horizontal alignment.
- validateVerticalAlignment(int) - Static method in class ej.mwt.util.Alignment
-
Validates that the given value represents a valid vertical alignment.
- VCENTER - Static variable in class ej.mwt.util.Alignment
-
Constant for centering vertically.
- VERTICAL_ALIGNMENT - Static variable in class ej.mwt.style.DefaultStyle
-
The vertical alignment of the default style.
- VoidStylesheet - Class in ej.mwt.stylesheet
-
Stylesheet that always returns the default style.
- VoidStylesheet() - Constructor for class ej.mwt.stylesheet.VoidStylesheet
-
Creates a void stylesheet.
W
- Widget - Class in ej.mwt
-
Widget is the superclass of all the user interface objects.
- Widget() - Constructor for class ej.mwt.Widget
-
Creates a widget.
- Widget(boolean) - Constructor for class ej.mwt.Widget
-
Creates a widget specifying if its enabled or not.
All Classes All Packages