Java 类org.eclipse.draw2d.TitleBarBorder 实例源码

项目:ermasterr    文件:FrameStyleSupport.java   
/**
 * {@inheritDoc}
 */
@Override
public void initTitleBar(final Figure top) {
    titleBarBorder = (TitleBarBorder) border.getInnerBorder();
    titleBarBorder.setTextAlignment(PositionConstants.CENTER);
    titleBarBorder.setPadding(new Insets(5, 20, 5, 20));
}
项目:ermaster-k    文件:FrameStyleSupport.java   
/**
 * {@inheritDoc}
 */
@Override
public void initTitleBar(Figure top) {
    this.titleBarBorder = (TitleBarBorder) this.border.getInnerBorder();
    this.titleBarBorder.setTextAlignment(PositionConstants.CENTER);
    this.titleBarBorder.setPadding(new Insets(5, 20, 5, 20));
}
项目:ermaster-nhit    文件:FrameStyleSupport.java   
/**
 * {@inheritDoc}
 */
@Override
public void initTitleBar(Figure top) {
    this.titleBarBorder = (TitleBarBorder) this.border.getInnerBorder();
    this.titleBarBorder.setTextAlignment(PositionConstants.CENTER);
    this.titleBarBorder.setPadding(new Insets(5, 20, 5, 20));
}
项目:birt    文件:TableBorderFigure.java   
public TableBorderFigure( )
{
    outer = new SchemeBorder( raisedBorderScheme );
    titleBar = new TitleBarBorder( );
    inner = new CompoundBorder( titleBar, new SimpleLoweredBorder( 5 ) );
    titleBar.setTextColor( Display.getCurrent( )
            .getSystemColor( SWT.COLOR_TITLE_FOREGROUND ) );
    titleBar.setTextAlignment( 1 );
    titleBar.setPadding( 3 );
}
项目:wt-studio    文件:ColumnGroupFigure.java   
public ColumnGroupFigure()
{
    HorizontalFillLayout horizontal = new HorizontalFillLayout();
    horizontal.setSpacing(5);
    setLayoutManager(horizontal);
    setOpaque(true);
    setBackgroundColor(ColorConstants.white);
    setOpaque(true);
    setBackgroundColor(ColorConstants.white);
    border = new TitleBarBorder("默认列组");
    setBorder(border);
}
项目:erflute    文件:FrameStyleSupport.java   
@Override
public void initTitleBar(Figure top) {
    this.titleBarBorder = (TitleBarBorder) border.getInnerBorder();
    titleBarBorder.setTextAlignment(PositionConstants.CENTER);
    titleBarBorder.setPadding(new Insets(5, 20, 5, 20));
}
项目:wt-studio    文件:ColumnGroupFigure.java   
public TitleBarBorder getBorder()
{
    return border;
}