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(); }
public String getToolTipText() { try { return defPC.getReadablePreset(pm.getValue()).getToolTipText(); } catch (NoSuchPresetException e) { } catch (ParameterUnavailableException e) { } return ""; }
public Icon getIcon() { try { return defPC.getReadablePreset(pm.getValue()).getIcon(); } catch (NoSuchPresetException e) { } catch (ParameterUnavailableException e) { } return null; }
public Integer getValue() throws ParameterUnavailableException { return pm.getValue(); }