Package org.eclipse.nebula.widgets.tiles
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
Styleprotected org.eclipse.swt.graphics.Color
foregroundColor
Styleprotected int
height
Locationprotected T
item
Elementprotected java.lang.String
label
Styleprotected org.eclipse.swt.graphics.Color
lineColor
Styleprotected int
lineStyle
Styleprotected int
lineWidth
Styleprotected int
width
Locationprotected int
x
Locationprotected 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()
-
Field Details
-
item
Element -
label
protected final java.lang.String labelStyle -
lineWidth
protected final int lineWidthStyle -
lineStyle
protected final int lineStyleStyle -
foregroundColor
protected final org.eclipse.swt.graphics.Color foregroundColorStyle -
backgroundColor
protected final org.eclipse.swt.graphics.Color backgroundColorStyle -
lineColor
protected final org.eclipse.swt.graphics.Color lineColorStyle -
x
protected final int xLocation -
y
protected final int yLocation -
width
protected final int widthLocation -
height
protected final int heightLocation
-
-
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 classjava.lang.Object
-