public boolean understandsRequest(Request request) { if (RequestConstants.REQ_AUTOSIZE.equals(request.getType()) || RequestConstants.REQ_MOVE_DEFERRED.equals(request.getType())) return true; return super.understandsRequest(request); }
public Command getCommand(Request request) { if (RequestConstants.REQ_AUTOSIZE.equals(request.getType())) return getAutoSizeCommand(request); if (RequestConstants.REQ_MOVE_DEFERRED.equals(request.getType())) return getMoveDeferredCommand((ChangeBoundsDeferredRequest) request); return super.getCommand(request); }