| |
|
| java.lang.Object com.ivata.mask.web.format.LeadingCharacterFormat
LeadingCharacterFormat | public class LeadingCharacterFormat implements HTMLFormat(Code) | |
Format a string by appending a leading character. You can specify either an
absolute length of the final string, or a number of characters to append.
since: ivata masks 0.4 (2002-10-24) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.5 $ |
getCharacter | final public char getCharacter()(Code) | |
This character will be prepended to the string.
the current value of the character which will prepended. |
getCount | final public int getCount()(Code) | |
The number of times the character will be prepended.
the current value of count. |
setCharacter | final public void setCharacter(char characterParam)(Code) | |
This character will be prepended to the string.
Parameters: characterParam - the new value of the character which will be prepended. |
setCount | final public void setCount(int countParam)(Code) | |
The number of times the character will be prepended.
Parameters: countParam - the new value of count. |
setCountIsMaximum | final public void setCountIsMaximum(boolean countIsMaximumParam)(Code) | |
Set whether the number specified in
LeadingCharacterFormat.setCount setCount should be
a maximum string length, or the number of characters to prepend.
Parameters: countIsMaximumParam - set to false if the count fromLeadingCharacterFormat.setCount setCountrepresents a total number ofcharacters to prepend, or true - defaultsetting - represents a maximum string length for the wholestring returned in LeadingCharacterFormat.format format. |
|
|
|