/** * Configures internally used hyperlink on new action creation and on every call to * <code>updateUI()</code>. * @param link Configured hyperlink. */ protected void configure(JXHyperlink link) { link.setOpaque(false); link.setBorderPainted(false); link.setFocusPainted(true); link.setForeground(UIManager.getColor("TaskPane.titleForeground")); }
/** * Configures internally used hyperlink on new action creation and on every call to * <code>updateUI()</code>. * @param link Configured hyperlink. */ protected void configure(JXHyperlink link) { link.setOpaque(false); link.setBorderPainted(false); link.setFocusPainted(true); link.setForeground(UIManager.getColor("TaskPane.titleForeground")); }
/** * Configures internally used hyperlink on new action creation and on every call to * <code>updateUI()</code>. * @param link Configured hyperlink. */ protected void configure(JXHyperlink link) { link.setOpaque(false); link.setBorderPainted(false); link.setFocusPainted(true); link.setForeground(UIManager.getColor("TaskPane.titleForeground")); }
/** * Configures internally used hyperlink on new action creation and on every call to * <code>updateUI()</code>. * @param link Configured hyperlink. */ protected void configure(JXHyperlink link) { link.setOpaque(false); link.setBorderPainted(false); link.setFocusPainted(true); link.setForeground(UIManager.getColor("TaskPane.titleForeground")); }
/** * Configures internally used hyperlink on new action creation and on every call to * <code>updateUI()</code>. * @param link Configured hyperlink. */ protected void configure(JXHyperlink link) { link.setOpaque(false); link.setBorderPainted(false); link.setFocusPainted(true); link.setForeground(UIManager.getColor("TaskPane.titleForeground")); }
private void init() { setForeground(isClicked() ? getClickedColor() : getUnclickedColor()); }
private void init() { setForeground(isClicked() ? getClickedColor() : getUnclickedColor()); }
private void init() { setForeground(isClicked() ? getClickedColor() : getUnclickedColor()); }
private void init() { setForeground(isClicked() ? getClickedColor() : getUnclickedColor()); }
private void init() { setForeground(isClicked() ? getClickedColor() : getUnclickedColor()); }
/** * Sets the color for the previously not visited link. This value will override the one * set by the "JXHyperlink.unclickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has not yet been clicked. */ public void setUnclickedColor(Color color) { Color old = getUnclickedColor(); unclickedColor = color; if (!isClicked()) { setForeground(getUnclickedColor()); } firePropertyChange("unclickedColor", old, getUnclickedColor()); }
/** * Sets the color for the previously visited link. This value will override the one * set by the "JXHyperlink.clickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has already been clicked. */ public void setClickedColor(Color color) { Color old = getClickedColor(); clickedColor = color; if (isClicked()) { setForeground(getClickedColor()); } firePropertyChange("clickedColor", old, getClickedColor()); }
/** * Sets the color for the previously visited link. This value will override the one * set by the "JXHyperlink.clickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has already been clicked. */ public void setClickedColor(Color color) { Color old = getClickedColor(); clickedColor = color; if (isClicked()) { setForeground(getClickedColor()); } firePropertyChange("clickedColor", old, getClickedColor()); }
/** * Sets the color for the previously not visited link. This value will override the one * set by the "JXHyperlink.unclickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has not yet been clicked. */ public void setUnclickedColor(Color color) { Color old = getUnclickedColor(); unclickedColor = color; if (!isClicked()) { setForeground(getUnclickedColor()); } firePropertyChange("unclickedColor", old, getUnclickedColor()); }
/** * Sets the color for the previously visited link. This value will override the one * set by the "JXHyperlink.clickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has already been clicked. */ public void setClickedColor(Color color) { Color old = getClickedColor(); clickedColor = color; if (isClicked()) { setForeground(getClickedColor()); } firePropertyChange("clickedColor", old, getClickedColor()); }
/** * Sets the color for the previously not visited link. This value will override the one * set by the "JXHyperlink.unclickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has not yet been clicked. */ public void setUnclickedColor(Color color) { Color old = getUnclickedColor(); unclickedColor = color; if (!isClicked()) { setForeground(getUnclickedColor()); } firePropertyChange("unclickedColor", old, getUnclickedColor()); }
/** * Sets the color for the previously not visited link. This value will override the one * set by the "JXHyperlink.unclickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has not yet been clicked. */ public void setUnclickedColor(Color color) { Color old = getUnclickedColor(); unclickedColor = color; if (!isClicked()) { setForeground(getUnclickedColor()); } firePropertyChange("unclickedColor", old, getUnclickedColor()); }
/** * Sets the color for the previously visited link. This value will override the one * set by the "JXHyperlink.clickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has already been clicked. */ public void setUnclickedColor(Color color) { Color old = getUnclickedColor(); unclickedColor = color; if (!isClicked()) { setForeground(getUnclickedColor()); } firePropertyChange("unclickedColor", old, getUnclickedColor()); }
/** * Sets the color for the previously not visited link. This value will override the one * set by the "JXHyperlink.unclickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has not yet been clicked. */ public void setClickedColor(Color color) { Color old = getClickedColor(); clickedColor = color; if (isClicked()) { setForeground(getClickedColor()); } firePropertyChange("clickedColor", old, getClickedColor()); }
/** * Sets the color for the previously visited link. This value will override the one * set by the "JXHyperlink.clickedColor" UIManager property and defaults. * * @param color Color for the hyper link if it has already been clicked. */ public void setClickedColor(Color color) { Color old = getClickedColor(); clickedColor = color; if (isClicked()) { setForeground(getClickedColor()); } firePropertyChange("clickedColor", old, getClickedColor()); }