Skip to content
greipadmin edited this page Dec 5, 2018 · 10 revisions

Introduction

Constructor

  • Tile(Composite parent, int style)
    • parent the parent Composite
    • style reserved for future use, only SWT.NONE allowed

Methods

Decorator methods

  • IDecorator getDecorator()
  • void setDecorator(IDecorator decorator)
  • int getDecoratorAlignment()
  • void setDecoratorAlignment(int alignment)
  • Cursor getDecoratorCursor()
  • void setDecoratorCursor(Cursor cursor)
  • int getDecoratorSpacing()
  • void setDecoratorSpacing(int decoratorSpacing)

Text section methods

  • void addSection(String text, int alignment)
  • void addSection(String text, int alignment, Font font, Color foreground, boolean wrap)
  • void removeSection(int index)
  • void removeAllSections()
  • int getAlignment(int index)
  • void setAlignment(int index, int alignment)
  • Font getFont(int index)
  • void setFont(int index, Font font)
  • Color getForeground(int index)
  • void setForeground(int index, Color foreground)
  • boolean isWrap(int index)
  • void setWrap(int index, boolean wrap)
  • String getText(int index)
  • void setText(int index, String text)
  • int getTextSpacing()
  • void setTextSpacing(int textSpacing)
  • void addSelectionListener(SelectionListener listener)
  • void removeSelectionListener(SelectionListener listener)

Other methods

  • Color getBorderColor()
  • void setBorderColor(Color borderColor)
  • int getBorderWidth()
  • void setBorderWidth(int borderWith)
  • int getEdgesRadius()
  • void setEdgeRadius(int edgeRadius)
  • boolean isHighlight()
  • void setHighlight(boolean highlight)
  • Point getMargins()
  • void setMargins(int marginWidth, int marginHeight)
Clone this wiki locally