Search in sources :

Example 1 with FolderValidator

use of gaiasky.util.validator.FolderValidator in project gaiasky by langurmonkey.

the class NewBookmarkFolderDialog method build.

public void build() {
    // Info message
    IValidator val = new FolderValidator();
    input = new OwnTextField("", skin, val);
    input.setWidth(480f);
    input.setMessageText("New folder");
    content.add(input).top().left().expand().row();
}
Also used : OwnTextField(gaiasky.util.scene2d.OwnTextField) IValidator(gaiasky.util.validator.IValidator) FolderValidator(gaiasky.util.validator.FolderValidator)

Aggregations

OwnTextField (gaiasky.util.scene2d.OwnTextField)1 FolderValidator (gaiasky.util.validator.FolderValidator)1 IValidator (gaiasky.util.validator.IValidator)1