예제 #1
0
 @Override
 public void setUpdateMode(String update_mode) {
   try {
     updateMode = UpdateMode.fromString(update_mode);
   } catch (InvalidDataTypeException e) {
     e.printStackTrace();
   }
   createDisplayObject();
 }
예제 #2
0
 @Override
 public boolean isEqual(String _otherId, String _otherGuiType, String _updateMode) {
   return id.equals(_otherId)
       && guiType.equals(_otherGuiType)
       && updateMode.toString().equals(_updateMode);
 }
예제 #3
0
 @Override
 public String getUpdateMode() {
   return updateMode.toString();
 }