本文整理汇总了Java中org.eclipse.draw2d.TitleBarBorder类的典型用法代码示例。如果您正苦于以下问题:Java TitleBarBorder类的具体用法?Java TitleBarBorder怎么用?Java TitleBarBorder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TitleBarBorder类属于org.eclipse.draw2d包,在下文中一共展示了TitleBarBorder类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: initTitleBar
import org.eclipse.draw2d.TitleBarBorder; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public void initTitleBar(final Figure top) {
titleBarBorder = (TitleBarBorder) border.getInnerBorder();
titleBarBorder.setTextAlignment(PositionConstants.CENTER);
titleBarBorder.setPadding(new Insets(5, 20, 5, 20));
}
开发者ID:roundrop,项目名称:ermasterr,代码行数:10,代码来源:FrameStyleSupport.java
示例2: initTitleBar
import org.eclipse.draw2d.TitleBarBorder; //导入依赖的package包/类
/**
* {@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));
}
开发者ID:kozake,项目名称:ermaster-k,代码行数:10,代码来源:FrameStyleSupport.java
示例3: TableBorderFigure
import org.eclipse.draw2d.TitleBarBorder; //导入依赖的package包/类
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 );
}
开发者ID:eclipse,项目名称:birt,代码行数:11,代码来源:TableBorderFigure.java
示例4: ColumnGroupFigure
import org.eclipse.draw2d.TitleBarBorder; //导入依赖的package包/类
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);
}
开发者ID:winture,项目名称:wt-studio,代码行数:13,代码来源:ColumnGroupFigure.java
示例5: initTitleBar
import org.eclipse.draw2d.TitleBarBorder; //导入依赖的package包/类
@Override
public void initTitleBar(Figure top) {
this.titleBarBorder = (TitleBarBorder) border.getInnerBorder();
titleBarBorder.setTextAlignment(PositionConstants.CENTER);
titleBarBorder.setPadding(new Insets(5, 20, 5, 20));
}
开发者ID:dbflute-session,项目名称:erflute,代码行数:7,代码来源:FrameStyleSupport.java
示例6: getBorder
import org.eclipse.draw2d.TitleBarBorder; //导入依赖的package包/类
public TitleBarBorder getBorder()
{
return border;
}
开发者ID:winture,项目名称:wt-studio,代码行数:5,代码来源:ColumnGroupFigure.java
注:本文中的org.eclipse.draw2d.TitleBarBorder类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论