Directory

← Back

dwtextfields

Client-side uppercase and decimal TextField

Author

Rating

Popularity

<100

Client-side uppercase and decimal TextField implementation

Please, report bugs to: diego@datawave.com.br

// TODO

  • Implement the group separator for decimaltextfield

Sample code

package com.datawave.dwtextfields;

import com.vaadin.Application;
import com.vaadin.ui.*;

public class DwtextfieldsApplication extends Application {
	@Override
	public void init() {
		Window mainWindow = new Window("Dwtextfields Application");
		DWDecimalTextField dwd = new DWDecimalTextField();
		dwd.setCaption("DecimalTextField - Default");
		mainWindow.addComponent(dwd);

		DWDecimalTextField dwd2 = new DWDecimalTextField();
		dwd2.setCaption("DecimalTextField - 3 Decimal size");
		dwd2.setDecimalSize(3);
		mainWindow.addComponent(dwd2);

		DWDecimalTextField dwd3 = new DWDecimalTextField();
		dwd3.setCaption("DecimalTextField - 2 Decimal size with decimal separator change");
		dwd3.setDecimalSeparator(",");
		mainWindow.addComponent(dwd3);

		DWUpperCaseTextField dwu = new DWUpperCaseTextField();
		dwu.setCaption("UpperCase textfield");
		mainWindow.addComponent(dwu);

		setMainWindow(mainWindow);
	}

}

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

All known bugs over uppercase textfields were solved.

Released
2010-09-09
Maturity
STABLE
License
Apache License 2.0

Compatibility

Framework
Vaadin 6.0+
Browser
N/A

dwtextfields - Vaadin Add-on Directory

Client-side uppercase and decimal TextField dwtextfields - Vaadin Add-on Directory
Client-side uppercase and decimal TextField implementation Please, report bugs to: diego@datawave.com.br // TODO - Implement the group separator for decimaltextfield
Author Homepage

dwtextfields version 1.0.2
null

dwtextfields version 2.0.0
All known bugs over uppercase textfields were solved.

Online