Available Methods
- NONE
- BORDER
- V_SCROLL
- PUSH
- CHECK
- LEFT
- MULTI
- SINGLE
- READ_ONLY
- OK
- H_SCROLL
- FILL
- CENTER
- WRAP
- error ( )
- ICON_ERROR
- RIGHT
- NULL
- HORIZONTAL
- FULL_SELECTION
- BOLD
- SEPARATOR
- DEFAULT
- RADIO
- RESIZE
- FLAT
- VERTICAL
- TOP
- DROP_DOWN
- ITALIC
- NORMAL
- SAVE
- ICON_INFORMATION
- CTRL
- SHIFT
- NO_FOCUS
- APPLICATION_MODAL
- DIALOG_TRIM
- DOUBLE_BUFFERED
- OPEN
- CR
- ARROW_DOWN
- Selection ( )
- YES
- CANCEL
- BOTTOM
- NO_BACKGROUND
- NO
- CLOSE
- ICON_WARNING
- RIGHT_TO_LEFT
- LEFT_TO_RIGHT
- TOGGLE
- SHEET
- DOWN
- BEGINNING
- MAX
- ARROW_LEFT
- ARROW_RIGHT
- NO_TRIM
- END
- ON_TOP
- MIN
- ARROW_UP
- KeyDown ( )
- KeyUp ( )
- ICON_QUESTION
- Dispose ( )
- ALT
- CASCADE
- VIRTUAL
- SHADOW_ETCHED_IN
- PAGE_UP
- DEL
- FocusOut ( )
- Traverse ( )
- PASSWORD
- SHELL_TRIM
- ARROW
- Deactivate ( )
- BS
- FocusIn ( )
- ESC
- LEAD
- MouseUp ( )
- SMOOTH
- MouseDoubleClick ( )
- TRAVERSE_TAB_NEXT
- UP
- MouseDown ( )
- TITLE
- Paint ( )
- PAGE_DOWN
- Move ( )
- HOME
- SHADOW_IN
- TRAVERSE_TAB_PREVIOUS
- F2 ( )
- LINE_SOLID
- HIDE_SELECTION
- JOIN_BEVEL
- SHADOW_NONE
- Modify ( )
- BAR
- SEARCH
- COMMAND
- LINE_DASHDOT
- ICON_SEARCH
- TAB
- SHADOW_OUT
- LINE_DASH
- KEYPAD_CR
- LINE_DOT
- JOIN_ROUND
- MOD1 ( )
- TOOL
- MODIFIER_MASK
- CURSOR_ARROW
- IMAGE_GIF
- LF
- MouseEnter ( )
- MouseMove ( )
- TRAVERSE_ARROW_PREVIOUS
- UNDERLINE_LINK
- MODELESS
- CURSOR_HAND
- IMAGE_JPEG
- MouseHover ( )
- CURSOR_WAIT
- getPlatform ( )
- IMAGE_BMP
- PRIMARY_MODAL
- CAP_FLAT
- UNDERLINE_ERROR
- POP_UP
- CAP_ROUND
- SIMPLE
- DATE
- EraseItem ( )
- TRANSPARENT
- TIME
- CAP_SQUARE
- COLOR_DARK_GREEN
- FOREGROUND
- INHERIT_DEFAULT
- KEYPAD_SUBTRACT
- TRAVERSE_ARROW_NEXT
- Help ( )
- LINE_DASHDOTDOT
- TRAVERSE_ESCAPE
- MouseExit ( )
- JOIN_MITER
- NO_SCROLL
- Collapse ( )
- F9 ( )
- FILL_WINDING
- HIGH
- ERROR_NULL_ARGUMENT
- BORDER_DOT
- CAPS_LOCK
- ICON_CANCEL
- KEYPAD_4 ( )
- PATH_MOVE_TO
- MOD2 ( )
- INDETERMINATE
- NO_REDRAW_RESIZE
- INSERT
- DefaultSelection ( )
- SYSTEM_MODAL
- IMAGE_COPY
- CALENDAR
- BACKGROUND
- MOD4 ( )
Related Classes
- java.io.File
- org.eclipse.swt.widgets.Composite
- org.eclipse.swt.widgets.Display
- org.eclipse.swt.widgets.Button
- org.eclipse.swt.widgets.Label
- org.eclipse.swt.widgets.Shell
- org.eclipse.swt.layout.GridData
- org.eclipse.swt.widgets.Text
- org.eclipse.swt.layout.GridLayout
- org.eclipse.swt.events.SelectionEvent
- org.eclipse.swt.events.SelectionAdapter
- org.eclipse.swt.widgets.Control
- org.eclipse.swt.graphics.Image
- org.eclipse.swt.widgets.Group
- org.eclipse.swt.widgets.Event
- org.eclipse.swt.graphics.Point
- org.eclipse.swt.graphics.Color
- org.eclipse.ui.PlatformUI
- org.eclipse.swt.widgets.Listener
- org.eclipse.swt.events.SelectionListener
- org.eclipse.swt.events.ModifyListener
- org.eclipse.swt.widgets.Combo
- org.eclipse.swt.widgets.FileDialog
- org.eclipse.swt.events.ModifyEvent
- org.eclipse.jface.viewers.IStructuredSelection
Java Code Examples for org.eclipse.swt.SWT#INDETERMINATE
The following examples show how to use
org.eclipse.swt.SWT#INDETERMINATE .
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: ProgressDialogEx.java From SWET with MIT License | 6 votes |
private void setIndeterminate(boolean indeterminate) { if (!indeterminate) { if ((progressBar.getStyle() & SWT.INDETERMINATE) == 0) return; updateStyle(progressBar.getStyle() ^ SWT.INDETERMINATE); // parent.layout(); updateValues(); } else { if ((progressBar.getStyle() & SWT.INDETERMINATE) == SWT.INDETERMINATE) return; updateStyle(progressBar.getStyle() | SWT.INDETERMINATE); // parent.layout(); } }
Example 2
Source File: AZProgressBar.java From BiglyBT with GNU General Public License v2.0 | 6 votes |
/** * * @param parent * @param isIndeterminate * @param useInputButton determines whether the <code>inputButton</code> is available or not * @param image an <code>Image</code> to display; may be null */ public AZProgressBar(Composite parent, boolean isIndeterminate) { super(parent, SWT.NULL); incrementalProgressBar = new ProgressBar(this, SWT.HORIZONTAL); indeterminateProgressBar = new ProgressBar(this, SWT.HORIZONTAL | SWT.INDETERMINATE); stack = new StackLayout(); setLayout(stack); pack(); visible = super.isVisible(); setIndeterminate(isIndeterminate); }
Example 3
Source File: ProgressBarDemo.java From slr-toolkit with Eclipse Public License 1.0 | 6 votes |
/** * Create contents of the dialog. * @param parent */ @Override protected Control createDialogArea(Composite parent) { Composite container = (Composite) super.createDialogArea(parent); container.setLayout(new GridLayout(1, false)); completedInfo = new Label(container, SWT.NONE); completedInfo.setAlignment(SWT.CENTER); GridData gd_completedInfo = new GridData(SWT.CENTER, SWT.CENTER, true, false, 1, 1); gd_completedInfo.minimumWidth = 250; completedInfo.setLayoutData(gd_completedInfo); completedInfo.setSize(250, 40); completedInfo.setText("Processing Data ..."); new Label(container, SWT.NONE); progressBar = new ProgressBar(container, SWT.INDETERMINATE); GridData gd_progressBar = new GridData(SWT.CENTER, SWT.CENTER, true, false, 1, 1); gd_progressBar.minimumWidth = 250; progressBar.setLayoutData(gd_progressBar); progressBar.setBounds(10, 23, 400, 17); progressBar.setSelection(100); return container; }
Example 4
Source File: ProgressIndicator.java From offspring with MIT License | 5 votes |
/** * Create a ProgressIndicator as a child under the given parent. * * @param parent * The widgets parent * @param style * the SWT style constants for progress monitors created by the * receiver. * @since 3.4 */ public ProgressIndicator(Composite parent, int style) { super(parent, SWT.NULL); // Enforce horizontal only if vertical isn't set if ((style & SWT.VERTICAL) == 0) style |= SWT.HORIZONTAL; determinateProgressBar = new ProgressBar(this, style); indeterminateProgressBar = new ProgressBar(this, style | SWT.INDETERMINATE); layout = new StackLayout(); setLayout(layout); }
Example 5
Source File: SWTIndeterminateProgressBar.java From tuxguitar with GNU Lesser General Public License v2.1 | 4 votes |
public SWTIndeterminateProgressBar(SWTContainer<? extends Composite> parent) { super(new ProgressBar(parent.getControl(), SWT.BORDER | SWT.HORIZONTAL | SWT.SMOOTH | SWT.INDETERMINATE), parent); }
Example 6
Source File: StaticHTMLController.java From birt with Eclipse Public License 1.0 | 4 votes |
public void setViewer( IViewer viewer ) { this.viewer = viewer; if ( !( viewer instanceof AbstractViewer ) ) { return; } Composite viewerUI = (Composite) ( (SWTAbstractViewer) viewer ).getUI( ); if ( viewerUI == null ) { return; } pane = new Composite( viewerUI, SWT.NONE ); pane.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_FILL ) ); RowLayout rowLayout = new RowLayout( ); rowLayout.type = SWT.HORIZONTAL; rowLayout.spacing = 5; pane.setLayout( rowLayout ); for ( Iterator iter = buttons.iterator( ); iter.hasNext( ); ) { ButtonInfo buttonInfo = (ButtonInfo) iter.next( ); Button button = new Button( pane, SWT.PUSH ); button.setText( buttonInfo.text ); button.setToolTipText( buttonInfo.toolTip ); if ( buttonInfo.selectionListener != null ) { button.addSelectionListener( buttonInfo.selectionListener ); } } GridData gd = new GridData( GridData.END, GridData.CENTER, false, false ); gd.heightHint = 10; gd.widthHint = 100; progressBar = new ProgressBar( viewerUI, SWT.INDETERMINATE ); progressBar.setLayoutData( gd ); setBusy( true ); }