Skip to content

v1.5

Compare
Choose a tag to compare
@johannesh2 johannesh2 released this 16 Feb 19:57
· 158 commits to master since this release
  • You can now create a new instance of formatter and replace the previous one in the same text field
myFormatter.remove();
myFormatter = new CustomStringBlockFormatter(myTextField, 
    new int[] { 1, 2, 3 }, new String[] { "-", "-" }, ForceCase.UPPER);
  • There is now Option data class for storing formatting options for reusing
Options formatA = new Options(new int[] { 1, 2, 3 },
    new String[] { "-", "-" }, ForceCase.UPPER);
Options formatB = new Options(formatA);
formatB.setDelimiters("*");
myFormatter = new CustomStringBlockFormatter(myTextField, formatB);