Class Tile<T>

java.lang.Object
org.eclipse.nebula.widgets.tiles.Tile<T>
Type Parameters:
T -

class Tile<T>
extends java.lang.Object
A rendered tile
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.eclipse.swt.graphics.Color backgroundColor
    Style
    protected org.eclipse.swt.graphics.Color foregroundColor
    Style
    protected int height
    Location
    protected T item
    Element
    protected java.lang.String label
    Style
    protected org.eclipse.swt.graphics.Color lineColor
    Style
    protected int lineStyle
    Style
    protected int lineWidth
    Style
    protected int width
    Location
    protected int x
    Location
    protected int y
    Location
  • Constructor Summary

    Constructors 
    Constructor Description
    Tile​(T element, int x, int y, int width, int height, java.lang.String label, int lineWidth, int lineStyle, org.eclipse.swt.graphics.Color lineColor, org.eclipse.swt.graphics.Color foregroundColor, org.eclipse.swt.graphics.Color backgroundColor)
    Creates a new instance
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • item

      protected final T item
      Element
    • label

      protected final java.lang.String label
      Style
    • lineWidth

      protected final int lineWidth
      Style
    • lineStyle

      protected final int lineStyle
      Style
    • foregroundColor

      protected final org.eclipse.swt.graphics.Color foregroundColor
      Style
    • backgroundColor

      protected final org.eclipse.swt.graphics.Color backgroundColor
      Style
    • lineColor

      protected final org.eclipse.swt.graphics.Color lineColor
      Style
    • x

      protected final int x
      Location
    • y

      protected final int y
      Location
    • width

      protected final int width
      Location
    • height

      protected final int height
      Location
  • Constructor Details

    • Tile

      Tile​(T element, int x, int y, int width, int height, java.lang.String label, int lineWidth, int lineStyle, org.eclipse.swt.graphics.Color lineColor, org.eclipse.swt.graphics.Color foregroundColor, org.eclipse.swt.graphics.Color backgroundColor)
      Creates a new instance
      Parameters:
      element -
      x -
      y -
      width -
      height -
      label -
      lineWidth -
      lineStyle -
      lineColor -
      foregroundColor -
      backgroundColor -
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object