Class GUIGlassPanel

Direct Known Subclasses:
FlowLayout.NewLinePanel, GUIFrame, GUIProgressBar, GUISlider

public class GUIGlassPanel extends GUIPanel
A special panel that goes not add itself to render sets (but still adds its children), so it is not rendered itself, but still is a panel otherwise.
Author:
Matthew Tropiano
  • Constructor Details

    • GUIGlassPanel

      public GUIGlassPanel()
      Creates a new GUI "glass" panel.
    • GUIGlassPanel

      public GUIGlassPanel(float width, float height)
      Creates a new GUI "glass" panel.
      Parameters:
      width - its width.
      height - its height.
    • GUIGlassPanel

      public GUIGlassPanel(float x, float y, float width, float height)
      Creates a new GUI "glass" panel.
      Parameters:
      x - its position x.
      y - its position y.
      width - its width.
      height - its height.
  • Method Details

    • getRendered

      public boolean getRendered()
      Description copied from class: GUIObject
      Gets if this object is rendered. The object's children can still be rendered. Unlike GUIObject.isVisible(), this is not hierarchically significant ("rendered" affects this and ONLY this object).
      Overrides:
      getRendered in class GUIObject
      Returns:
      false, always, for this object.
      See Also: