public abstract class AbstractRuler extends Object implements Renderer
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.graphics.Color |
color |
protected boolean |
visible |
Constructor and Description |
---|
AbstractRuler() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doRender(Graphics g,
org.eclipse.swt.graphics.Rectangle clientRectangle) |
void |
render(Graphics g,
org.eclipse.swt.graphics.Rectangle clientRectangle) |
org.eclipse.swt.graphics.Rectangle |
resize(org.eclipse.swt.graphics.Rectangle clientRectangle) |
void |
setAlpha(int alpha) |
void |
setColor(org.eclipse.swt.graphics.Color color) |
void |
setLineAttributes(org.eclipse.swt.graphics.LineAttributes lineAttributes) |
void |
setVisible(boolean visible) |
public void setLineAttributes(org.eclipse.swt.graphics.LineAttributes lineAttributes)
public void setVisible(boolean visible)
public void setColor(org.eclipse.swt.graphics.Color color)
public void setAlpha(int alpha)
public void render(Graphics g, org.eclipse.swt.graphics.Rectangle clientRectangle)
protected abstract void doRender(Graphics g, org.eclipse.swt.graphics.Rectangle clientRectangle)