类 GlassSettingsPanel

java.lang.Object
polaris.sdk.ui.Widget
polaris.sdk.ui.controls.Panel
polaris.sdk.ui.controls.GlassSettingsPanel

public class GlassSettingsPanel extends Panel
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.
  • 构造器详细资料

  • 方法详细资料

    • applyPreset

      public void applyPreset(MaterialPreset preset)
      Apply a named material preset and immediately synchronize every numeric editor and slider.
    • setBlurEnabled

      public void setBlurEnabled(boolean enabled)
      Toggle the actual Gaussian pass while preserving the last nonzero sigma.
    • resetMaterial

      public void resetMaterial()
      Restore only material scalars; palette, corners, typography, background and AA remain unchanged.
    • syncFromModel

      public void syncFromModel()
      Pull application-side parameter changes without firing another change event.
    • preferredHeight

      public float preferredHeight(float width)
      Content height including responsive template/preset rows, matching layout exactly.
    • layoutChildren

      protected void layoutChildren()
      覆盖:
      layoutChildren 在类中 Panel