private void valueToAnything(Color value, Anything args) { String hexColor = ""; if (value != null) { hexColor = ColorHelper.toHexString(value.getRed(), value.getGreen(), value.getBlue(), value.getAlpha()); } args.put(ColorPickerConstants.VALUE_KEY, hexColor); }
private void valueToAnything(Color value, Anything args) { String hexColor = ""; if (value != null) { hexColor = ColorHelper.toHexString(value.getRed(), value.getGreen(), value.getBlue(), value.getAlpha()); } args.put(ColorPickerConstants.VALUE_KEY, hexColor); }
/** * {@inheritDoc} */ @Override protected Object getConnecteeValue() { Color value = getConnectedSComponent().getValue(); if (value != null) { return ColorHelper.toHexString(value.getRed(), value.getGreen(), value .getBlue(), value.getAlpha()); } return null; }
/** * {@inheritDoc} */ @Override protected Object getConnecteeValue() { Color value = getConnectedSComponent().getValue(); if (value != null) { return ColorHelper.toHexString(value.getRed(), value.getGreen(), value .getBlue(), value.getAlpha()); } return null; }
/** * {@inheritDoc} */ @Override protected Object getConnecteeValue() { Color value = getConnectedJComponent().getValue(); if (value != null) { return ColorHelper.toHexString(value.getRed(), value.getGreen(), value .getBlue(), value.getAlpha()); } return null; }
/** * {@inheritDoc} */ @Override protected Object protectedGetConnecteeValue() { Color value = getConnectedJComponent().getValue(); if (value != null) { return ColorHelper.toHexString(value.getRed(), value.getGreen(), value.getBlue(), value.getAlpha()); } return null; }
private void resetValueToAnything(Anything args) { String hexColor = ""; if (resetValue != null) { hexColor = ColorHelper.toHexString(resetValue.getRed(), resetValue .getGreen(), resetValue.getBlue(), resetValue.getAlpha()); } args.put(ColorPickerConstants.RESETVALUE_KEY, hexColor); }
private void resetValueToAnything(Anything args) { String hexColor = ""; if (resetValue != null) { hexColor = ColorHelper.toHexString(resetValue.getRed(), resetValue .getGreen(), resetValue.getBlue(), resetValue.getAlpha()); } args.put(ColorPickerConstants.RESETVALUE_KEY, hexColor); }
private void valueToAnything(Anything args) { String hexColor = ""; if (value != null) { hexColor = ColorHelper.toHexString(value.getRed(), value.getGreen(), value.getBlue(), value.getAlpha()); } args.put(ColorPickerConstants.VALUE_KEY, hexColor); } }
private void valueToAnything(Anything args) { String hexColor = ""; if (value != null) { hexColor = ColorHelper.toHexString(value.getRed(), value.getGreen(), value.getBlue(), value.getAlpha()); } args.put(ColorPickerConstants.VALUE_KEY, hexColor); } }
/** * {@inheritDoc} */ @Override protected Object getConnecteeValue() { Color value = getConnectedULCComponent().getValue(); if (value != null) { return ColorHelper.toHexString(value.getRed(), value.getGreen(), value .getBlue(), value.getAlpha()); } return null; }