- 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, int) - Static method in class ej.mwt.util.Alignment
-
Computes the x coordinate of the left edge of an object aligned in an area.
- 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.
- 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, int) - Static method in class ej.mwt.util.Alignment
-
Computes the y coordinate of the top edge of an object aligned in an area.
- 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.
- 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 new container.
Its bounds will be set to 0
.
- 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.