org.eclipse.draw2d.TitleBarBorder Java Examples
The following examples show how to use
org.eclipse.draw2d.TitleBarBorder.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FrameStyleSupport.java From ermasterr with Apache License 2.0 | 5 votes |
/** * {@inheritDoc} */ @Override public void initTitleBar(final Figure top) { titleBarBorder = (TitleBarBorder) border.getInnerBorder(); titleBarBorder.setTextAlignment(PositionConstants.CENTER); titleBarBorder.setPadding(new Insets(5, 20, 5, 20)); }
Example #2
Source File: TableBorderFigure.java From birt with Eclipse Public License 1.0 | 5 votes |
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 ); }
Example #3
Source File: FrameStyleSupport.java From ermaster-b with Apache License 2.0 | 5 votes |
/** * {@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)); }
Example #4
Source File: FrameStyleSupport.java From erflute with Apache License 2.0 | 4 votes |
@Override public void initTitleBar(Figure top) { this.titleBarBorder = (TitleBarBorder) border.getInnerBorder(); titleBarBorder.setTextAlignment(PositionConstants.CENTER); titleBarBorder.setPadding(new Insets(5, 20, 5, 20)); }