public class FormGroupStrategy extends AbstractGroupStrategy
Constructor and Description |
---|
FormGroupStrategy()
Deprecated.
use constructor with PGroup element instead
|
FormGroupStrategy(PGroup g)
Creates a FormGroupStrategy with the given toggle and style.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Rectangle |
computeTrim(int x,
int y,
int width,
int height) |
void |
dispose() |
org.eclipse.swt.graphics.Color |
getBorderColor() |
org.eclipse.swt.graphics.Rectangle |
getClientArea() |
org.eclipse.swt.graphics.Rectangle |
getToolItemArea() |
void |
initialize() |
boolean |
isToggleLocation(int x,
int y) |
void |
paint(org.eclipse.swt.graphics.GC gc)
Paints the actual group widget.
|
void |
setBorderColor(org.eclipse.swt.graphics.Color borderColor) |
void |
update() |
getGroup
public FormGroupStrategy()
public FormGroupStrategy(PGroup g)
toggle
- style
- public void initialize()
initialize
in class AbstractGroupStrategy
AbstractGroupStrategy.initialize()
public void paint(org.eclipse.swt.graphics.GC gc)
AbstractGroupStrategy
paint
in class AbstractGroupStrategy
AbstractGroupStrategy.paint(org.eclipse.swt.graphics.GC)
public org.eclipse.swt.graphics.Rectangle getToolItemArea()
getToolItemArea
in class AbstractGroupStrategy
public boolean isToggleLocation(int x, int y)
isToggleLocation
in class AbstractGroupStrategy
AbstractGroupStrategy.isToggleLocation(int, int)
public org.eclipse.swt.graphics.Rectangle getClientArea()
getClientArea
in class AbstractGroupStrategy
AbstractGroupStrategy.getClientArea()
public org.eclipse.swt.graphics.Rectangle computeTrim(int x, int y, int width, int height)
computeTrim
in class AbstractGroupStrategy
public void dispose()
dispose
in class AbstractGroupStrategy
AbstractGroupStrategy.dispose()
public org.eclipse.swt.graphics.Color getBorderColor()
public void setBorderColor(org.eclipse.swt.graphics.Color borderColor)
borderColor
- The borderColor to set.public void update()
update
in class AbstractGroupStrategy