public void setInput(String id, String name, URL url,
ICheatSheetStateManager inputStateManager, boolean isRestricted) {
if (id == null || name == null || url == null) {
throw new IllegalArgumentException();
}
CheatSheetElement element = new CheatSheetElement(name);
element.setID(id);
element.setHref(url.toString());
nullCheatSheetId = false;
invalidCheatSheetId = false;
this.isRestricted = isRestricted;
setContent(element, inputStateManager);