public abstract class AbstractSWTComponent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.swt.graphics.Rectangle |
rect |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSWTComponent(AbstractSWTComponent parent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChild(AbstractSWTComponent child) |
SWTToolTip |
constructToolTip(org.eclipse.swt.widgets.Shell parentShell,
SWTToolTipCommandReceiver commandReceiver,
int x,
int y) |
AbstractSWTComponent |
getChildAt(int index) |
Iterator<AbstractSWTComponent> |
getChildren() |
int |
getHeight() |
int |
getNumberOfChildren() |
AbstractSWTComponent |
getParent() |
AbstractSWTComponent |
getSelectedComponent(int x,
int y) |
int |
getWidth() |
int |
getX() |
int |
getY() |
abstract boolean |
isSelectable() |
boolean |
isVisible() |
boolean |
isWithinComponent(int x,
int y) |
abstract void |
layout() |
void |
layoutChildren() |
void |
paint(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Device device) |
protected abstract void |
paintInternal(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Device device) |
void |
setHeight(int height) |
void |
setVisible(boolean isVisible) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
protected AbstractSWTComponent(AbstractSWTComponent parent)
protected void addChild(AbstractSWTComponent child)
public int getNumberOfChildren()
public Iterator<AbstractSWTComponent> getChildren()
public AbstractSWTComponent getChildAt(int index)
public AbstractSWTComponent getParent()
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public abstract void layout()
public void layoutChildren()
public final void paint(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Device device)
protected abstract void paintInternal(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Device device)
public AbstractSWTComponent getSelectedComponent(int x, int y)
public SWTToolTip constructToolTip(org.eclipse.swt.widgets.Shell parentShell, SWTToolTipCommandReceiver commandReceiver, int x, int y)
public boolean isWithinComponent(int x,
int y)
public abstract boolean isSelectable()
public boolean isVisible()
public void setVisible(boolean isVisible)
Copyright © 2013–2014. All rights reserved.