private static class LineRenderer.Composite extends LineRenderer
| Modifier and Type | Field and Description |
|---|---|
private int |
actualWidth
.
|
private int |
minWidth
.
|
private Iterable<? extends LineRenderer> |
renderers
.
|
NULL| Modifier | Constructor and Description |
|---|---|
private |
LineRenderer.Composite(Iterable<? extends LineRenderer> renderers) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActualHeight(int width)
Return the actual height for the specified with.
|
int |
getActualWidth()
Returns the element actual width.
|
int |
getMinHeight(int width)
Return the minimum height for the specified with.
|
int |
getMinWidth()
Returns the element minimum width.
|
LineReader |
reader(int width)
Create a renderer for the specified width or return null if the element does not provide any output.
|
LineReader |
reader(int width,
int height)
Create a renderer for the specified width and height or return null if the element does not provide any output
for the specified dimensions.
|
render, verticalprivate final Iterable<? extends LineRenderer> renderers
private final int actualWidth
private final int minWidth
private LineRenderer.Composite(Iterable<? extends LineRenderer> renderers)
public int getActualWidth()
LineRenderergetActualWidth in class LineRendererpublic int getMinWidth()
LineRenderergetMinWidth in class LineRendererpublic int getActualHeight(int width)
LineRenderergetActualHeight in class LineRendererwidth - the widthpublic int getMinHeight(int width)
LineRenderergetMinHeight in class LineRendererwidth - the widthpublic LineReader reader(int width, int height)
LineRendererLineRenderer.reader(int) method when the
height argument is not positive otherwise it returns null. Subclasses should override this method
when they want to provide content that can adapts to the specified height.reader in class LineRendererwidth - the widthheight - the heightpublic LineReader reader(int width)
LineRendererreader in class LineRendererwidth - the widthCopyright © 2015 eXo Platform SAS. All Rights Reserved.