コード例 #1
0
 private void displayPatternChangeAction(String displayPattern) {
   String fieldDisplayPattern = objEntityViewField.getDisplayFormat().getPattern();
   if (!displayPattern.trim().equals(fieldDisplayPattern)) {
     objEntityViewField.getDisplayFormat().setPattern(displayPattern.trim());
   }
 }
コード例 #2
0
 private void displayClassChangeAction(String displayClass) {
   String fieldDisplayClass = objEntityViewField.getDisplayFormat().getClassName();
   if (!displayClass.trim().equals(fieldDisplayClass)) {
     objEntityViewField.getDisplayFormat().setClassName(displayClass.trim());
   }
 }