public void setPercent(int numerator, int denominator) { setPercent(PercentageCalculator.calculatePercent(numerator, denominator)); }
public PercentageBar(String color, int width, int numerator, int denominator) { this(color, width, PercentageCalculator.calculatePercent(numerator, denominator)); }
@Override public void hideBusyIndicator() { busyIndicatorView.hideBusyIndicator(); } }
@Override public void showBusyIndicator( final String message ) { busyIndicatorView.showBusyIndicator( message ); }
private DecoratedTextArea getTextArea() { final DecoratedTextArea text = new DecoratedTextArea(); text.setWidth( "95%" ); text.setVisibleLines( 5 ); text.setTitle( MetadataConstants.INSTANCE.RuleDocHint() ); return text; }
public void setValue( Date value ) { setValue( value, true ); }
public PercentageBar(String color, int width, float percent) { this(); setColor(color); setWidth(width); setPercent((int) percent); }
public void onBlur( BlurEvent event ) { TextBox box = (TextBox) event.getSource(); textWidget.setText( box.getText() ); valueChanged(); makeDirty(); datePickerPopUp.hide(); } } );
public DecoratedTextArea() { initWidget( uiBinder.createAndBindUi( this ) ); }
public PercentageBar() { initWidget(uiBinder.createAndBindUi(this)); }
public void setValue(Integer value) { setValue(value, false); }
protected void valueChanged() { for ( ValueChanged changed : valueChangeds ) { changed.valueChanged( getDateString() ); } }
@Override public boolean error( final Message message, final Throwable throwable ) { view.hideBusyIndicator(); return super.error( message, throwable ); }
@Override public void showBusyIndicator( final String message ) { busyIndicatorView.showBusyIndicator( message ); }
@Override public void hideBusyIndicator() { busyIndicatorView.hideBusyIndicator(); }
public void setValue( String value ) { setValue( value, true ); }
public void setPercent(int percent) { setValue(percent); }
@Override public void showBusyIndicator( final String message ) { busyIndicatorView.showBusyIndicator( message ); }
@Override public void hideBusyIndicator() { busyIndicatorView.hideBusyIndicator(); }