public class NamingConventionBean
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
m_maxLength |
int |
m_minLength |
java.lang.String |
m_regex |
protected java.util.regex.Pattern |
m_regexPattern |
Constructor and Description |
---|
NamingConventionBean(java.lang.String regex,
int minLength,
int maxLength,
java.lang.String... predefinedNames2Ignore) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
createOptionsPanel() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
initPattern() |
boolean |
isValid(java.lang.String name) |
public java.lang.String m_regex
public int m_minLength
public int m_maxLength
protected java.util.regex.Pattern m_regexPattern
public NamingConventionBean(java.lang.String regex, int minLength, int maxLength, java.lang.String... predefinedNames2Ignore)
public boolean isValid(java.lang.String name)
public void initPattern()
public javax.swing.JComponent createOptionsPanel()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object