Class AlphaPreview
java.lang.Object
org.flexdock.docking.drag.effects.DefaultPreview
org.flexdock.docking.drag.preview.AlphaPreview
- All Implemented Interfaces:
DockingConstants,DragPreview
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AlphaPreviewstatic final AlphaPreviewstatic final floatstatic final Colorstatic final ColorFields inherited from class org.flexdock.docking.drag.effects.DefaultPreview
DEFAULT_TAB_HEIGHT, DEFAULT_TAB_WIDTHFields inherited from interface org.flexdock.docking.DockingConstants
ACTIVE_WINDOW, BOTTOM, CENTER, CENTER_REGION, CLOSE_ACTION, DEFAULT_PERSISTENCE_KEY, DOCKING_ID, EAST_REGION, HEAVYWEIGHT_DOCKABLES, HORIZONTAL, LEFT, MOUSE_PRESSED, NORTH_REGION, PERMANENT_FOCUS_OWNER, PIN_ACTION, REGION, RIGHT, SOUTH_REGION, TOP, UNINITIALIZED, UNINITIALIZED_RATIO, UNKNOWN_REGION, UNSPECIFIED_SIBLING_PREF, VERTICAL, WEST_REGION -
Constructor Summary
ConstructorsConstructorDescriptionAlphaPreview(Color border, Color fill, float alpha) AlphaPreview(Color border, Color fill, float alpha, boolean immutable) -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawPreview(Graphics2D g, Polygon p, Dockable dockable, Map dragInfo) voidsetAlpha(float alpha) voidsetBorderColor(Color color) voidsetPreviewColor(Color color) Methods inherited from class org.flexdock.docking.drag.effects.DefaultPreview
createPolyRect, createPolyRect, createPolyTab, createPolyTabOnBottom, createPolyTabOnTop, createPreviewPolygon, createTabbedPaneRect, isOuterRegion
-
Field Details
-
DEFAULT_ALPHA
public static final float DEFAULT_ALPHA- See Also:
-
DEFAULT_COLOR
-
DEFAULT_BORDER
-
BLUE
-
BLACK
-
-
Constructor Details
-
AlphaPreview
public AlphaPreview() -
AlphaPreview
-
AlphaPreview
-
-
Method Details
-
setPreviewColor
-
setAlpha
public void setAlpha(float alpha) -
setBorderColor
-
drawPreview
- Specified by:
drawPreviewin interfaceDragPreview- Specified by:
drawPreviewin classDefaultPreview
-