Class BorderNode

All Implemented Interfaces:
DataListener

public class BorderNode extends BeanNode<Border>
brick which represents a view
  • Field Details

  • Constructor Details

  • Method Details

    • getPrototypeBean

      protected Border getPrototypeBean(BeanProxy<Border> beanProxy)
      get the bean instance
      Overrides:
      getPrototypeBean in class BeanNode<Border>
    • getInstance

      public static BorderNode getInstance(DataAdaptor adaptor)
      generator
    • getBorder

      public Border getBorder()
      Get the border.
      Returns:
      the border
    • getBorderProxy

      public BorderProxy<Border> getBorderProxy()
      Get the border proxy
      Returns:
      the border proxy
    • canAdd

      public boolean canAdd(BeanProxy<?> beanProxy)
      Determine if the brick can add the specified view
      Specified by:
      canAdd in class Brick
      Returns:
      true if it can add the specified view and false if not
    • refreshDisplay

      public void refreshDisplay()
      refresh display
      Overrides:
      refreshDisplay in class BeanNode<Border>
    • removeFromParent

      public void removeFromParent()
      Remove this brick from its parent
      Specified by:
      removeFromParent in class Brick
    • display

      public void display()
      Display the bean's window
      Overrides:
      display in class BeanNode<Border>
    • dataLabel

      public String dataLabel()
      Provides the name used to identify the class in an external data source.
      Specified by:
      dataLabel in interface DataListener
      Specified by:
      dataLabel in class BeanNode<Border>
      Returns:
      a tag that identifies the receiver's type