Package | Description |
---|---|
ej.style.background |
Outlines implementations drawing a background.
|
ej.style.border |
Border definition and default implementations.
|
ej.style.container |
Containers utilities.
|
ej.style.dimension |
Dimension definition and default implementations.
|
ej.style.outline |
Outline definition and default implementations.
|
ej.style.text |
Text manager definition and default implementations.
|
ej.style.util |
Styling utilities.
|
ej.widget |
Stylized widgets framework.
|
ej.widget.basic |
Basic widgets.
|
ej.widget.basic.drawing |
Basic drawn widgets.
|
ej.widget.basic.image |
Basic widgets represented with images.
|
ej.widget.basic.picto |
Basic widgets represented with pictos.
|
ej.widget.composed |
Widgets composed with other widgets.
|
ej.widget.container |
Set of containers with specific layouts.
|
ej.widget.container.transition |
Set of containers that allow to do transitions between two widgets.
|
ej.widget.navigation |
Navigation framework base classes.
|
ej.widget.navigation.transition |
Transition manager implementations.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleRoundedPlainBackground.apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle,
int color) |
void |
PlainBackground.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color) |
void |
NoBackground.apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle,
int color) |
void |
Background.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color)
Applies the background on a graphics context.
|
void |
AbstractImageBackground.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color) |
protected void |
TiledImageBackground.drawImage(ej.microui.display.GraphicsContext g,
Rectangle bounds) |
protected void |
SimpleImageBackground.drawImage(ej.microui.display.GraphicsContext g,
Rectangle bounds) |
protected abstract void |
AbstractImageBackground.drawImage(ej.microui.display.GraphicsContext g,
Rectangle bounds)
Draws the background image.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleRoundedBorder.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color) |
void |
SimpleRectangularBorder.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color) |
void |
NoBorder.apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle,
int color) |
void |
ComplexRectangularColoredBorder.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color) |
void |
ComplexRectangularBorder.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color) |
void |
Border.apply(ej.microui.display.GraphicsContext g,
Rectangle bounds,
int color)
Applies the border on a graphics context.
|
void |
SimpleRoundedBorder.unwrap(Rectangle rectangle) |
void |
SimpleRectangularBorder.unwrap(Rectangle rectangle) |
void |
NoBorder.unwrap(Rectangle rectangle) |
void |
ComplexRectangularBorder.unwrap(Rectangle rectangle) |
void |
Border.unwrap(Rectangle rectangle)
Removes this border wrapping from a rectangle.
|
void |
SimpleRoundedBorder.wrap(Rectangle rectangle) |
void |
SimpleRectangularBorder.wrap(Rectangle rectangle) |
void |
NoBorder.wrap(Rectangle rectangle) |
void |
ComplexRectangularBorder.wrap(Rectangle rectangle) |
void |
Border.wrap(Rectangle rectangle)
Adds this border wrapping to a rectangle.
|
Constructor and Description |
---|
Rectangle(Rectangle rectangle)
Creates a rectangle from the bounds of another rectangle.
|
Modifier and Type | Method and Description |
---|---|
void |
RelativeDimension.apply(Rectangle contentBounds,
Rectangle sizeHint) |
void |
NoDimension.apply(Rectangle contentBounds,
Rectangle sizeHint) |
void |
FixedDimension.apply(Rectangle contentBounds,
Rectangle sizeHint) |
void |
Dimension.apply(Rectangle contentBounds,
Rectangle sizeHint)
Applies the dimension to the given size.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleOutline.apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle) |
void |
Outline.apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle)
Applies the outline on a graphics context.
|
void |
EmptyOutline.apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle) |
void |
ComplexOutline.apply(ej.microui.display.GraphicsContext g,
Rectangle rectangle) |
void |
SimpleOutline.unwrap(Rectangle rectangle) |
void |
Outline.unwrap(Rectangle rectangle)
Removes the outline thickness from a rectangle.
|
void |
EmptyOutline.unwrap(Rectangle rectangle) |
void |
ComplexOutline.unwrap(Rectangle rectangle) |
void |
SimpleOutline.wrap(Rectangle rectangle) |
void |
Outline.wrap(Rectangle rectangle)
Adds the outline thickness to a rectangle.
|
void |
EmptyOutline.wrap(Rectangle rectangle) |
void |
ComplexOutline.wrap(Rectangle rectangle) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
TextManager.computeContentSize(java.lang.String text,
ej.microui.display.Font font,
Rectangle availableSize)
Computes a text size for a font.
|
Rectangle |
SimpleTextManager.computeContentSize(java.lang.String text,
ej.microui.display.Font font,
Rectangle availableSize) |
Rectangle |
ComplexTextManager.computeContentSize(java.lang.String text,
ej.microui.display.Font font,
Rectangle availableSize) |
Rectangle[] |
TextManager.getBounds(int startIndex,
int endIndex,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment)
Gets the bounds surrounding a part of the text.
|
Rectangle[] |
SimpleTextManager.getBounds(int startIndex,
int endIndex,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment) |
Rectangle[] |
ComplexTextManager.getBounds(int startIndex,
int endIndex,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
TextManager.computeContentSize(java.lang.String text,
ej.microui.display.Font font,
Rectangle availableSize)
Computes a text size for a font.
|
Rectangle |
SimpleTextManager.computeContentSize(java.lang.String text,
ej.microui.display.Font font,
Rectangle availableSize) |
Rectangle |
ComplexTextManager.computeContentSize(java.lang.String text,
ej.microui.display.Font font,
Rectangle availableSize) |
void |
TextManager.drawText(ej.microui.display.GraphicsContext g,
java.lang.String text,
ej.microui.display.Font font,
int color,
Rectangle area,
int alignment)
Draws text on a graphics context.
|
void |
SimpleTextManager.drawText(ej.microui.display.GraphicsContext g,
java.lang.String text,
ej.microui.display.Font font,
int color,
Rectangle area,
int alignment) |
void |
ComplexTextManager.drawText(ej.microui.display.GraphicsContext g,
java.lang.String text,
ej.microui.display.Font font,
int color,
Rectangle area,
int alignment) |
Rectangle[] |
TextManager.getBounds(int startIndex,
int endIndex,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment)
Gets the bounds surrounding a part of the text.
|
Rectangle[] |
SimpleTextManager.getBounds(int startIndex,
int endIndex,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment) |
Rectangle[] |
ComplexTextManager.getBounds(int startIndex,
int endIndex,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment) |
int |
TextManager.getIndex(int x,
int y,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment)
Gets the index of the character at a location.
|
int |
SimpleTextManager.getIndex(int x,
int y,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment) |
int |
ComplexTextManager.getIndex(int x,
int y,
java.lang.String text,
ej.microui.display.Font font,
Rectangle area,
int alignment) |
Modifier and Type | Method and Description |
---|---|
static Rectangle |
StyleHelper.computeContentBounds(Rectangle boundsHint,
Style style)
Unwraps the different style outlines then apply the style dimension to get the content effective bounds from the
global bounds.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle |
StyleHelper.computeContentBounds(Rectangle boundsHint,
Style style)
Unwraps the different style outlines then apply the style dimension to get the content effective bounds from the
global bounds.
|
static void |
StyleHelper.computePreferredSize(Rectangle boundsHint,
Rectangle contentBounds,
Style style)
Applies the style dimension then wraps the different style outlines to get the global bounds from the content
effective bounds.
|
static void |
StyleHelper.renderWithoutContent(ej.microui.display.GraphicsContext g,
Rectangle bounds,
Style style)
Applies the different outlines and the background to a graphics context.
|
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
StyledWidget.getContentBounds()
Gets the content bounds of this widget.
|
Rectangle |
StyledRenderable.validateContent(Style style,
Rectangle bounds)
Gets the content size of the renderable without the border, margin and padding specified in the style.
|
Rectangle |
StyledPanel.validateContent(Style style,
Rectangle bounds) |
Rectangle |
StyledDialog.validateContent(Style style,
Rectangle bounds) |
Rectangle |
StyledDesktop.validateContent(Style style,
Rectangle bounds) |
abstract Rectangle |
StyledComposite.validateContent(Style style,
Rectangle bounds)
Gets the content size of the renderable without the border, margin and padding specified in the style.
|
Modifier and Type | Method and Description |
---|---|
void |
StyledRenderable.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds)
Renders the content of the renderable without the border, margin and padding specified in the style.
|
void |
StyledPanel.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
StyledDialog.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
StyledDesktop.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
StyledComposite.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
protected abstract void |
StyledComposite.setBoundsContent(Rectangle bounds)
Sets the bounds of this widget by taking into account the border, margin and padding specified in the style.
|
Rectangle |
StyledRenderable.validateContent(Style style,
Rectangle bounds)
Gets the content size of the renderable without the border, margin and padding specified in the style.
|
Rectangle |
StyledPanel.validateContent(Style style,
Rectangle bounds) |
Rectangle |
StyledDialog.validateContent(Style style,
Rectangle bounds) |
Rectangle |
StyledDesktop.validateContent(Style style,
Rectangle bounds) |
abstract Rectangle |
StyledComposite.validateContent(Style style,
Rectangle bounds)
Gets the content size of the renderable without the border, margin and padding specified in the style.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Text.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Label.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Image.validateContent(Style style,
Rectangle availableBounds) |
Rectangle |
AnimatedImage.validateContent(Style style,
Rectangle availableBounds) |
Modifier and Type | Method and Description |
---|---|
void |
Text.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
Label.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
Image.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle availableBounds) |
void |
AnimatedImage.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle availableBounds) |
Rectangle |
Text.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Label.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Image.validateContent(Style style,
Rectangle availableBounds) |
Rectangle |
AnimatedImage.validateContent(Style style,
Rectangle availableBounds) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
SwitchBox.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Slider.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Scrollbar.validateContent(Style style,
Rectangle bounds) |
Rectangle |
RadioBox.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
ProgressBar.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
CircularProgressBar.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
CheckBox.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
BulletPagingIndicator.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
void |
SwitchBox.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
Slider.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
Scrollbar.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
RadioBox.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
ProgressBar.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
CircularProgressBar.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
CheckBox.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
BulletPagingIndicator.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
Rectangle |
SwitchBox.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Slider.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
Scrollbar.validateContent(Style style,
Rectangle bounds) |
Rectangle |
RadioBox.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
ProgressBar.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
CircularProgressBar.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
CheckBox.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
BulletPagingIndicator.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
ImageToggle.validateContent(Style style,
Rectangle bounds) |
Rectangle |
ImageSlider.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
ImageProgress.validateContent(Style style,
Rectangle availableSize) |
Modifier and Type | Method and Description |
---|---|
void |
ImageToggle.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
ImageSlider.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
ImageProgress.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
Rectangle |
ImageToggle.validateContent(Style style,
Rectangle bounds) |
Rectangle |
ImageSlider.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
ImageProgress.validateContent(Style style,
Rectangle availableSize) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
PictoToggle.validateContent(Style style,
Rectangle bounds) |
Rectangle |
PictoSlider.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
PictoProgress.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
void |
PictoToggle.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
PictoSlider.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
void |
PictoProgress.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds) |
Rectangle |
PictoToggle.validateContent(Style style,
Rectangle bounds) |
Rectangle |
PictoSlider.validateContent(Style style,
Rectangle availableSize) |
Rectangle |
PictoProgress.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Wrapper.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Toggle.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
protected void |
Wrapper.setBoundsContent(Rectangle bounds) |
protected void |
Toggle.setBoundsContent(Rectangle bounds) |
Rectangle |
Wrapper.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Toggle.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
ListCarousel.validateChildren(int boundsWidth,
int boundsHeight,
boolean horizontal) |
protected Rectangle |
FillCarousel.validateChildren(int boundsWidth,
int boundsHeight,
boolean horizontal) |
protected abstract Rectangle |
AbstractCarousel.validateChildren(int boundsWidth,
int boundsHeight,
boolean horizontal)
Lays out the children.
|
Rectangle |
Split.validateContent(Style style,
Rectangle bounds) |
Rectangle |
SimpleDock.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Scroll.validateContent(Style style,
Rectangle bounds) |
Rectangle |
List.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Grid.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Flow.validateContent(Style style,
Rectangle bounds)
Gets the content size of the renderable without the border, margin and padding specified in the style.
|
Rectangle |
Dock.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Canvas.validateContent(Style style,
Rectangle bounds) |
Rectangle |
AbstractCarousel.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
protected SwipeEventHandler |
ListCarousel.setBoundsChildren(Rectangle bounds,
int widgetsCount) |
protected SwipeEventHandler |
FillCarousel.setBoundsChildren(Rectangle bounds,
int widgetsCount) |
protected abstract SwipeEventHandler |
AbstractCarousel.setBoundsChildren(Rectangle bounds,
int widgetsCount)
Sets the bounds of the children.
|
protected void |
Split.setBoundsContent(Rectangle bounds) |
protected void |
SimpleDock.setBoundsContent(Rectangle bounds) |
protected void |
Scroll.setBoundsContent(Rectangle bounds) |
protected void |
List.setBoundsContent(Rectangle bounds) |
protected void |
Grid.setBoundsContent(Rectangle bounds) |
protected void |
Flow.setBoundsContent(Rectangle bounds) |
protected void |
Dock.setBoundsContent(Rectangle bounds) |
protected void |
Canvas.setBoundsContent(Rectangle bounds) |
protected void |
AbstractCarousel.setBoundsContent(Rectangle bounds) |
Rectangle |
Split.validateContent(Style style,
Rectangle bounds) |
Rectangle |
SimpleDock.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Scroll.validateContent(Style style,
Rectangle bounds) |
Rectangle |
List.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Grid.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Flow.validateContent(Style style,
Rectangle bounds)
Gets the content size of the renderable without the border, margin and padding specified in the style.
|
Rectangle |
Dock.validateContent(Style style,
Rectangle bounds) |
Rectangle |
Canvas.validateContent(Style style,
Rectangle bounds) |
Rectangle |
AbstractCarousel.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
TransitionContainer.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
protected void |
TransitionContainer.setBoundsContent(Rectangle bounds) |
protected void |
SplashScreenshotTransitionContainer.takeScreenshot(ej.mwt.Widget widget,
Rectangle contentBounds) |
protected void |
ScreenshotTransitionContainer.takeScreenshot(ej.mwt.Widget widget,
Rectangle contentBounds)
Takes a screenshot of a widget.
|
Rectangle |
TransitionContainer.validateContent(Style style,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
TransitionManager.getContentBounds()
Deprecated.
Gets the bounds of a child page.
|
protected Rectangle |
Navigator.getContentBounds()
Deprecated.
Gets the contents bounds for a child page.
|
Rectangle |
Navigator.validateContent(Style style,
Rectangle bounds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransitionManager.render(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds)
Deprecated.
Renders the content of the navigation container without the border, margin and padding specified in the style.
|
void |
Navigator.renderContent(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds)
Deprecated.
|
protected void |
Navigator.setBoundsContent(Rectangle bounds)
Deprecated.
|
Rectangle |
Navigator.validateContent(Style style,
Rectangle bounds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
HorizontalScreenshotTransitionManager.render(ej.microui.display.GraphicsContext g,
Style style,
Rectangle bounds)
Deprecated.
|