public class MXCellOverlay
extends org.fujion.ancillary.Options
| Modifier and Type | Field and Description |
|---|---|
MXConstants.MXAlign |
align
Holds the horizontal alignment for the overlay.
|
String |
cursor
Holds the cursor for the overlay.
|
Float |
defaultOverlap
Defines the overlapping for the overlay, that is, the proportional distance from the origin
to the point defined by the alignment.
|
MXImage |
image
Holds the image to be used as the icon.
|
MXPoint |
offset
The offset will be scaled according to the current scale.
|
String |
tooltip
Holds the optional string to be used as the tooltip.
|
MXConstants.MXAlign |
verticalAlign
Holds the vertical alignment for the overlay.
|
| Constructor and Description |
|---|
MXCellOverlay(MXImage image,
String tooltip) |
MXCellOverlay(MXImage image,
String tooltip,
MXConstants.MXAlign align,
MXConstants.MXAlign verticalAlign) |
MXCellOverlay(MXImage image,
String tooltip,
MXConstants.MXAlign align,
MXConstants.MXAlign verticalAlign,
MXPoint offset,
String cursor,
Float defaultOverlap) |
@Option public final MXImage image
@Option public final String tooltip
@Option public final MXConstants.MXAlign align
Default: MXAlign.RIGHT
@Option public final MXConstants.MXAlign verticalAlign
Default: MXAlign.BOTTOM
public final MXPoint offset
@Option public final String cursor
Default: "help"
@Option public final Float defaultOverlap
Default: 0.5
public MXCellOverlay(MXImage image, String tooltip, MXConstants.MXAlign align, MXConstants.MXAlign verticalAlign)
public MXCellOverlay(MXImage image, String tooltip, MXConstants.MXAlign align, MXConstants.MXAlign verticalAlign, MXPoint offset, String cursor, Float defaultOverlap)
Copyright © 2023 Fujion Framework. All rights reserved.