- GeneralLabelPainterPredicate - Class in de.javagl.viewer.painters
-
General implementation of a predicate that may be assigned to a
LabelPainter
in order to determine whether a label should be painted.
- GeneralLabelPainterPredicate() - Constructor for class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Default constructor.
- getAngle() - Method in class de.javagl.viewer.painters.LabelPainter
-
Returns the angle (in radians) about that the label will be rotated
around its
anchor point.
- getFont() - Method in class de.javagl.viewer.painters.LabelPainter
-
Returns the font that is used for the label.
- getLabel() - Method in class de.javagl.viewer.painters.LabelPainter.LabelPaintState
-
Returns the label that is about to be painted
- getLabelAnchor() - Method in class de.javagl.viewer.painters.LabelPainter
-
Returns a new point that describes the current anchor position of
the label.
- getLabelBounds() - Method in class de.javagl.viewer.painters.LabelPainter.LabelPaintState
-
Returns a reference to the bounds of the label that is about
to be painted.
- getLabelLocation() - Method in class de.javagl.viewer.painters.LabelPainter
-
Returns a new point that describes the location of the label.
- getLabelPainterX() - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Returns the
LabelPainter that is used for painting the labels
along the x-axis
- getLabelPainterY() - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Returns the
LabelPainter that is used for painting the labels
along the y-axis
- getLabelTransform() - Method in class de.javagl.viewer.painters.LabelPainter.LabelPaintState
-
Returns a reference to the affine transform that will be applied
to the graphics context before the label is painted at the origin.
- getMaximumScreenHeight() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the maximum height that the label may have, in screen coordinates
- getMaximumScreenWidth() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the maximum width that the label may have, in screen coordinates
- getMaximumWorldHeight() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the maximum height that the label may have, in world coordinates
- getMaximumWorldWidth() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the maximum width that the label may have, in world coordinates
- getMinimumScreenHeight() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the minimum height that the label may have, in screen coordinates
- getMinimumScreenWidth() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the minimum width that the label may have, in screen coordinates
- getMinimumWorldHeight() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the minimum height that the label may have, in world coordinates
- getMinimumWorldWidth() - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Return the minimum width that the label may have, in world coordinates
- getObject() - Method in class de.javagl.viewer.SimpleObjectPainter
-
Returns the object that should be painted.
- getPaint() - Method in class de.javagl.viewer.painters.LabelPainter
-
Returns the paint that is used for the label.
- getScreenToWorld() - Method in class de.javagl.viewer.Viewer
-
Returns a copy of the screen-to-world transform
- getWorldToScreen() - Method in class de.javagl.viewer.Viewer
-
Returns a copy of the current world-to-screen transform
- getWorldToScreenTransform() - Method in class de.javagl.viewer.painters.LabelPainter.LabelPaintState
-
Returns a reference to an affine transform that is equal to
the transform that was passed to the painting method of
the
LabelPainter
- set(double, double, String) - Method in class de.javagl.viewer.painters.TooltipPainter
-
Set the tooltip that should be painted.
- setAnchor(double, double) - Method in class de.javagl.viewer.painters.TooltipPainter
-
Set the anchor point for the tooltip.
- setAngle(double) - Method in class de.javagl.viewer.painters.LabelPainter
-
Set the angle (in radians) about that the label will be rotated
around its
anchor point.
- setAntialiasing(boolean) - Method in class de.javagl.viewer.Viewer
-
Set whether the antialiasing rendering hint should be enabled
by default
- setAxisColorX(Color) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the color for the x-axis.
- setAxisColorY(Color) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the color for the y-axis.
- setAxisLocationX(double) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the location where the x-axis should be painted
- setAxisLocationY(double) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the location where the y-axis should be painted
- setAxisRangeX(double, double) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the range of the x-axis that should be displayed.
- setAxisRangeY(double, double) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the range of the y-axis that should be displayed.
- setDisplayedWorldArea(double, double, double, double) - Method in class de.javagl.viewer.Viewer
-
Set the area (in world coordinates) that should be shown.
- setDisplayedWorldArea(Rectangle2D) - Method in class de.javagl.viewer.Viewer
-
Set the area (in world coordinates) that should be shown.
- setFixedWorldTickDistanceX(double) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the fixed distance between ticks on the x-axis, in world coordinates.
- setFixedWorldTickDistanceY(double) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the fixed distance between ticks on the y-axis, in world coordinates.
- setFlippedVertically(boolean) - Method in class de.javagl.viewer.Viewer
-
Set whether the y-axis should be flipped to point from the
bottom of the screen to the top
- setFont(Font) - Method in class de.javagl.viewer.painters.LabelPainter
-
Set the font that should be used for the label.
- setGridColorX(Color) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the color for the grid lines that should be painted at the x-axis
ticks in the background.
- setGridColorY(Color) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the color for the grid lines that should be painted at the y-axis
ticks in the background.
- setLabelAnchor(double, double) - Method in class de.javagl.viewer.painters.LabelPainter
-
Set the anchor position of the label.
- setLabelFormatterX(DoubleFunction<String>) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the formatter that will receive x-values for ticks, and return
the string that should be painted at this coordinate.
- setLabelFormatterY(DoubleFunction<String>) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the formatter that will receive y-values for ticks, and return
the string that should be painted at this coordinate.
- setLabelLocation(double, double) - Method in class de.javagl.viewer.painters.LabelPainter
-
Set the absolute location of the label.
- setLabelPaintingCondition(Predicate<LabelPainter.LabelPaintState>) - Method in class de.javagl.viewer.painters.LabelPainter
-
Set the condition indicating whether a certain label should be
painted.
- setMaintainAspectRatio(boolean) - Method in class de.javagl.viewer.Viewer
-
- setMaximumScreenHeight(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the maximum height that the label may have, in screen coordinates
- setMaximumScreenWidth(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the maximum width that the label may have, in screen coordinates
- setMaximumWorldHeight(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the maximum height that the label may have, in world coordinates
- setMaximumWorldWidth(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the maximum width that the label may have, in world coordinates
- setMinimumScreenHeight(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the minimum height that the label may have, in screen coordinates
- setMinimumScreenWidth(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the minimum width that the label may have, in screen coordinates
- setMinimumWorldHeight(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the minimum height that the label may have, in world coordinates
- setMinimumWorldWidth(double) - Method in class de.javagl.viewer.painters.GeneralLabelPainterPredicate
-
Set the minimum width that the label may have, in world coordinates
- setMouseControl(MouseControl) - Method in class de.javagl.viewer.Viewer
-
Set the given
MouseControl as a
MouseListener,
MouseMotionListener and
MouseWheelListener
for this viewer.
- setObject(T) - Method in class de.javagl.viewer.SimpleObjectPainter
-
Set the object that should be painted.
- setPaint(Paint) - Method in class de.javagl.viewer.painters.LabelPainter
-
Set the paint that should be used for the label.
- setResizingContents(boolean) - Method in class de.javagl.viewer.Viewer
-
Set whether the contents should be resized when the screen
is resized.
- setScreenAxisLayoutX(IntSupplier, IntSupplier, IntSupplier) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the layout for the x-axis.
- setScreenAxisLayoutY(IntSupplier, IntSupplier, IntSupplier) - Method in class de.javagl.viewer.painters.CoordinateSystemPainter
-
Set the layout for the y-axis.
- setTransform(AffineTransform) - Method in class de.javagl.viewer.TransformedObjectPainter
-
Set the transform that this painter should apply to be the same
as the given one.
- setTransform(AffineTransform) - Method in class de.javagl.viewer.TransformedPainter
-
Set the transform of this painter
- setTransform(AffineTransform) - Method in class de.javagl.viewer.Viewer
-
Set the world-to-screen transform of this viewer to the given transform.
- setTransformingLabels(boolean) - Method in class de.javagl.viewer.painters.LabelPainter
-
Set whether this painter is transforming the labels using the
worldToScreen transform that is passed to its
paint
method.
- shiftDown() - Static method in class de.javagl.viewer.InputEventPredicates
-
Returns a predicate that checks whether the given input event
was created while the SHIFT button was pressed
- SimpleObjectPainter<T> - Class in de.javagl.viewer
-
Implementation of a
Painter that allows setting an object
that should be painted with a delegate
ObjectPainter
- SimpleObjectPainter(ObjectPainter<? super T>) - Constructor for class de.javagl.viewer.SimpleObjectPainter
-
Creates a new simple object painter using the given delegate
- StringBoundsUtils - Class in de.javagl.viewer.painters
-
Utility methods for computing string bounds