类 GlassSettingsPanel
java.lang.Object
polaris.sdk.ui.Widget
polaris.sdk.ui.controls.Panel
polaris.sdk.ui.controls.GlassSettingsPanel
Live LiquidGlass controls bound to the attached Ui's theme and standalone background.
No duplicate parameter snapshot: edits from this panel, application code and presets stay in sync.
This panel draws no extra glass backplate. Embed it in an existing Panel/ScrollPane or Dialog.
-
嵌套类概要
-
字段概要
从类继承的字段 Widget
ax, ay, change, children, click, clip, clipChildren, contextMenu, enabled, focusable, h, hovered, id, parent, pressed, text, tooltip, ui, visible, w, x, y修饰符和类型字段说明protected floatprotected floatprotected Rectprotected booleanprotected PopupMenuprotected booleanprotected booleanprotected floatprotected booleanprotected Stringprotected Widgetprotected booleanprotected Stringprotected Stringprotected Uiprotected booleanprotected floatprotected floatprotected float -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidapplyPreset(MaterialPreset preset) Apply a named material preset and immediately synchronize every numeric editor and slider.protected voidfloatpreferredHeight(float width) Content height including responsive template/preset rows, matching layout exactly.voidRestore only material scalars; palette, corners, typography, background and AA remain unchanged.voidsetBlurEnabled(boolean enabled) Toggle the actual Gaussian pass while preserving the last nonzero sigma.voidPull application-side parameter changes without firing another change event.从类继承的方法 Panel
columns, contentClipRadius, contentTop, draggable, event, gap, gap, glass, hit, layout, padding, padding, paint修饰符和类型方法说明columns(int n) protected floatThe same outline used by this widget's own glass surface, only for its descendants.protected floatdraggable(boolean value) Opt-in whole-surface dragging; interactive descendants retain their own input.voidfloatgap()gap(float g) glass(boolean b) hit(float px, float py) floatpadding()padding(float p) protected void从类继承的方法 Widget
absoluteX, absoluteY, activate, add, appear, attach, beginPositionDrag, bounds, canFocus, centered, changed, childClip, children, clear, clipChildren, clock, contains, context, contextMenu, corner, corners, corners, draw, drawFocus, enabled, enabled, find, focusable, focused, follow, glassPart, height, hover, hoverAmount, hovered, id, id, ink, label, layout, motion, motion, offsetX, offsetY, onChange, onClick, paintOverlay, parent, popContentClip, pressAmount, pressTransform, pushContentClip, radius, radius, rect, remove, resetPress, smoothPosition, snapMotion, stateSurface, surface, text, text, theme, tooltip, tooltip, ui, visible, visible, width, x, y修饰符和类型方法说明floatfloatvoidactivate()appear()voidGrab an already moving widget at its shown location rather than at its old target.bounds(float x, float y, float w, float h) booleancanFocus()protected voidvoidchanged()protected Rectchildren()voidclear()clipChildren(boolean b) protected doubleclock()booleancontains(float px, float py) corner(Corner corner, BezierCorner value) corners()corners(CornerRadii value) final voidvoidbooleanenabled()enabled(boolean value) focusable(boolean b) booleanfocused()protected floatprotected voidglassPart(Painter p, float xx, float yy, float ww, float hh, float radius, float tintExtra, int tintColor, float colorMix, float blur) floatheight()voidhover(boolean value) protected floatbooleanhovered()id()protected intink()protected voidfinal voidprotected floatprotected floatprotected floatoffsetX()protected floatoffsetY()protected voidparent()protected final voidprotected floatprotected booleanprotected final voidradius(float all) radius(float topLeft, float topRight, float bottomRight, float bottomLeft) Four independent cubic corner radii, clockwise from the top left.rect()voidvoidsmoothPosition(boolean value) Position follows its target while rendering and hit testing use the same shown geometry.protected voidsnapMotion(String key, float value) protected voidstateSurface(Painter p, float selected, float prominence) protected voidtext()protected Themetheme()tooltip()ui()booleanvisible()visible(boolean value) floatwidth()floatx()floaty()
-
构造器详细资料
-
GlassSettingsPanel
public GlassSettingsPanel()
-
-
方法详细资料
-
applyPreset
Apply a named material preset and immediately synchronize every numeric editor and slider. -
setBlurEnabled
Toggle the actual Gaussian pass while preserving the last nonzero sigma. -
resetMaterial
Restore only material scalars; palette, corners, typography, background and AA remain unchanged. -
syncFromModel
Pull application-side parameter changes without firing another change event. -
preferredHeight
Content height including responsive template/preset rows, matching layout exactly. -
layoutChildren
- 覆盖:
layoutChildren在类中Panel
-