Class TrackBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.AbstractLabeledBorder
org.eclipse.nebula.widgets.timeline.borders.TrackBorder
- All Implemented Interfaces:
org.eclipse.draw2d.Border
,org.eclipse.draw2d.LabeledBorder
public class TrackBorder
extends org.eclipse.draw2d.AbstractLabeledBorder
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TrackBorder(java.lang.String title)
-
Method Summary
Modifier and Type Method Description protected org.eclipse.draw2d.geometry.Insets
calculateInsets(org.eclipse.draw2d.IFigure figure)
void
paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics g, org.eclipse.draw2d.geometry.Insets insets)
Methods inherited from class org.eclipse.draw2d.AbstractLabeledBorder
getFont, getInsets, getLabel, getPreferredSize, getTextColor, getTextExtents, invalidate, setFont, setLabel, setTextColor
-
Constructor Details
-
TrackBorder
public TrackBorder(java.lang.String title)
-
-
Method Details
-
calculateInsets
protected org.eclipse.draw2d.geometry.Insets calculateInsets(org.eclipse.draw2d.IFigure figure)- Specified by:
calculateInsets
in classorg.eclipse.draw2d.AbstractLabeledBorder
-
paint
public void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics g, org.eclipse.draw2d.geometry.Insets insets)
-