public Icon getIcon() { try { return defPC.getReadablePreset(pm.getValue()).getIcon(); } catch (NoSuchPresetException e) { } catch (ParameterUnavailableException e) { } return null; }
public String getToolTipText() { try { return defPC.getReadablePreset(pm.getValue()).getToolTipText(); } catch (NoSuchPresetException e) { } catch (ParameterUnavailableException e) { } return ""; }
public String toString() { Integer pn = IntPool.get(0); try { pn = pm.getValue(); return new AggRemoteName(pn, defPC.getPresetName(pm.getValue())).toString(); } catch (ParameterUnavailableException e) { // e.printStackTrace(); } catch (NoSuchPresetException e) { } catch (PresetEmptyException e) { return new AggRemoteName(pn, DeviceContext.EMPTY_PRESET).toString(); } return pn.toString(); }