Package snap.view

Class TitleView.TitleArea

All Implemented Interfaces:
PropChange.DoChange, XMLArchiver.Archivable
Enclosing class:
TitleView

public static class TitleView.TitleArea extends ParentView
A View to draw content of TitleView.
  • Constructor Details

    • TitleArea

      public TitleArea()
  • Method Details

    • setTitleView

      public void setTitleView(TitleView aTV)
      Sets the TitleView.
    • getContent

      public View getContent()
      Returns the content.
    • isContentShowing

      public boolean isContentShowing()
      Returns whether content is visible.
    • getPrefWidthImpl

      protected double getPrefWidthImpl(double aH)
      Override to return preferred width of TitleArea.
      Overrides:
      getPrefWidthImpl in class View
    • getPrefHeightImpl

      protected double getPrefHeightImpl(double aW)
      Override to return preferred height of TitleArea.
      Overrides:
      getPrefHeightImpl in class View
    • layoutImpl

      protected void layoutImpl()
      Override to layout TitleArea.
      Overrides:
      layoutImpl in class ParentView
    • getContentBounds

      public Rect getContentBounds()
      Returns the content bounds.
    • fireActionEvent

      protected void fireActionEvent(ViewEvent anEvent)
      Triggers.
      Overrides:
      fireActionEvent in class View