All Implemented Interfaces:
Control, View
Direct Known Subclasses:
DialogView

public class WindowView extends AbstractView
WindowView is a View defining area within view itself.
  • Constructor Details

    • WindowView

      public WindowView()
  • Method Details

    • setBackgroundColor

      public void setBackgroundColor(int backgroundColor)
      Sets a background color. If color is set to null it indicates that background should be set to be empty causing possible layer to be non-transparent.
      Parameters:
      backgroundColor - the background color
    • getBackgroundStyle

      protected String getBackgroundStyle()
    • drawInternal

      protected void drawInternal(Screen screen)
      Description copied from class: AbstractView
      Component internal drawing method. Implementing classes needs to define this method to draw something into a Screen.
      Specified by:
      drawInternal in class AbstractView
      Parameters:
      screen - the screen
    • getInnerRect

      protected Rectangle getInnerRect()
      Gets an inner rectangle of this view.
      Returns:
      an inner rectangle of this view