Package snap.viewx

Class DevPane

All Implemented Interfaces:
PropChange.DoChange

public class DevPane extends ViewOwner
A view to allow inspection of View hierarchy.
  • Field Details

    • _splitView

      protected SplitView _splitView
    • HIGHLIGHT_BORDER_STROKE

      protected static Stroke HIGHLIGHT_BORDER_STROKE
    • HIGHLIGHT_BORDER_COLOR

      protected static Color HIGHLIGHT_BORDER_COLOR
  • Constructor Details

    • DevPane

      public DevPane(View aView)
      Constructor.
  • Method Details

    • getContent

      public View getContent()
      Returns the real content.
    • showException

      public void showException(Exception anExc)
      Shows an exception.
    • installInWindow

      public void installInWindow()
      Install in rootView
    • removeFromWindow

      public void removeFromWindow()
      Remove from window.
    • createUI

      protected View createUI()
      CreateUI.
      Overrides:
      createUI in class ViewOwner
    • initUI

      protected void initUI()
      Init UI.
      Overrides:
      initUI in class ViewOwner
    • respondUI

      protected void respondUI(ViewEvent anEvent)
      RespondUI.
      Overrides:
      respondUI in class ViewOwner
    • initShowing

      protected void initShowing()
      When showing, kick off showTabView().
      Overrides:
      initShowing in class ViewOwner
    • getDevPane

      public static DevPane getDevPane(View aView)
      Returns the DevPane for a given view (really, its RootView).
    • isDevPaneShowing

      public static boolean isDevPaneShowing(View aView)
      Returns whether DevPane is showing for view.
    • setDevPaneShowing

      public static void setDevPaneShowing(View aView, boolean aValue)
      Sets a DevPane visible for view.
    • showException

      public static void showException(View aView, Exception anExc)
      Sets a DevPane visible for view.