/** * Sets a flag to indicate if the link has been visited. The state of this * flag can be used to render the color of the link. */ public void setVisited(boolean visited) { boolean old = getVisited(); this.visited = visited; firePropertyChange(VISITED_PROPERTY, old, getVisited()); }
/** * Set the display text. */ public void setText(String text) { String old = getText(); this.text = text; firePropertyChange("text", old, getText()); }
/** * Set the display text. */ public void setText(String text) { String old = getText(); this.text = text; firePropertyChange("text", old, getText()); }
/** * Sets a flag to indicate if the link has been visited. The state of this * flag can be used to render the color of the link. */ public void setVisited(boolean visited) { boolean old = getVisited(); this.visited = visited; firePropertyChange(VISITED_PROPERTY, old, getVisited()); }
/** * Sets a flag to indicate if the link has been visited. The state of this * flag can be used to render the color of the link. */ public void setVisited(boolean visited) { boolean old = getVisited(); this.visited = visited; firePropertyChange(VISITED_PROPERTY, old, getVisited()); }
/** * Set the display text. */ public void setText(String text) { String old = getText(); this.text = text; firePropertyChange("text", old, getText()); }
/** * Set the display text. */ public void setText(String text) { String old = getText(); this.text = text; firePropertyChange("text", old, getText()); }
/** * Sets a flag to indicate if the link has been visited. The state of this * flag can be used to render the color of the link. */ public void setVisited(boolean visited) { boolean old = getVisited(); this.visited = visited; firePropertyChange(VISITED_PROPERTY, old, getVisited()); }
/** * Sets a flag to indicate if the link has been visited. The state of this * flag can be used to render the color of the link. */ public void setVisited(boolean visited) { boolean old = getVisited(); this.visited = visited; firePropertyChange(VISITED_PROPERTY, old, getVisited()); }
/** * Set the display text. */ public void setText(String text) { String old = getText(); this.text = text; firePropertyChange("text", old, getText()); }
/** * Set the url and resets the visited flag. * * Think: keep list of visited urls here? */ public void setURL(URL url) { if (url == null) { throw new IllegalArgumentException("URL for link cannot be null"); } if (url.equals(getURL())) return; URL old = getURL(); this.url = url; firePropertyChange("URL", old, url); setVisited(false); }
/** * Set the url and resets the visited flag. * * Think: keep list of visited urls here? */ public void setURL(URL url) { if (url == null) { throw new IllegalArgumentException("URL for link cannot be null"); } if (url.equals(getURL())) return; URL old = getURL(); this.url = url; firePropertyChange("URL", old, url); setVisited(false); }
/** * Set the url and resets the visited flag. * * Think: keep list of visited urls here? */ public void setURL(URL url) { if (url == null) { throw new IllegalArgumentException("URL for link cannot be null"); } if (url.equals(getURL())) return; URL old = getURL(); this.url = url; firePropertyChange("URL", old, url); setVisited(false); }
/** * Set the url and resets the visited flag. * * Think: keep list of visited urls here? */ public void setURL(URL url) { if (url == null) { throw new IllegalArgumentException("URL for link cannot be null"); } if (url.equals(getURL())) return; URL old = getURL(); this.url = url; firePropertyChange("URL", old, url); setVisited(false); }
/** * Set the url and resets the visited flag. * * Think: keep list of visited urls here? */ public void setURL(URL url) { if (url == null) { throw new IllegalArgumentException("URL for link cannot be null"); } if (url.equals(getURL())) return; URL old = getURL(); this.url = url; firePropertyChange("URL", old, url); setVisited(false); }