class ScaledSliderFigure.XSliderLayout
extends org.eclipse.draw2d.AbstractLayout
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LABEL
Used as a constraint for the label
|
static java.lang.String |
MARKERS
Used as a constraint for the alarm ticks
|
static java.lang.String |
SCALE
Used as a constraint for the scale.
|
static java.lang.String |
THUMB
Used as a constraint for the thumb
|
static java.lang.String |
TRACK
Used as a constraint for the pipe indicator.
|
Constructor and Description |
---|
XSliderLayout() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.draw2d.geometry.Dimension |
calculatePreferredSize(org.eclipse.draw2d.IFigure container,
int w,
int h) |
void |
layout(org.eclipse.draw2d.IFigure container) |
void |
setConstraint(org.eclipse.draw2d.IFigure child,
java.lang.Object constraint) |
public static final java.lang.String SCALE
public static final java.lang.String TRACK
public static final java.lang.String MARKERS
public static final java.lang.String THUMB
public static final java.lang.String LABEL
protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container, int w, int h)
calculatePreferredSize
in class org.eclipse.draw2d.AbstractLayout
public void layout(org.eclipse.draw2d.IFigure container)
public void setConstraint(org.eclipse.draw2d.IFigure child, java.lang.Object constraint)
setConstraint
in interface org.eclipse.draw2d.LayoutManager
setConstraint
in class org.eclipse.draw2d.AbstractLayout