/** * @param text text to that a renderer would display * @param target the target that a URL should load into. * @param template a string that represents a URL with * &{N} place holders for string substitution * @param args an array of strings which will be used for substitition */ public LinkModel(String text, String target, String template, String[] args) { setText(text); setTarget(target); setURL(createURL(template, args)); }
/** * * @param text * @param target * @param url */ public LinkModel(String text, String target, URL url) { setText(text); setTarget(target); setURL(url != null ? url : getDefaultURL()); }
/** * * @param text * @param target * @param url */ public LinkModel(String text, String target, URL url) { setText(text); setTarget(target); setURL(url != null ? url : getDefaultURL()); }
/** * @param text text to that a renderer would display * @param target the target that a URL should load into. * @param template a string that represents a URL with * &{N} place holders for string substitution * @param args an array of strings which will be used for substitition */ public LinkModel(String text, String target, String template, String[] args) { setText(text); setTarget(target); setURL(createURL(template, args)); }
/** * @param text text to that a renderer would display * @param target the target that a URL should load into. * @param template a string that represents a URL with * &{N} place holders for string substitution * @param args an array of strings which will be used for substitition */ public LinkModel(String text, String target, String template, String[] args) { setText(text); setTarget(target); setURL(createURL(template, args)); }
/** * @param text text to that a renderer would display * @param target the target that a URL should load into. * @param template a string that represents a URL with * &{N} place holders for string substitution * @param args an array of strings which will be used for substitition */ public LinkModel(String text, String target, String template, String[] args) { setText(text); setTarget(target); setURL(createURL(template, args)); }
/** * @param text text to that a renderer would display * @param target the target that a URL should load into. * @param template a string that represents a URL with * &{N} place holders for string substitution * @param args an array of strings which will be used for substitition */ public LinkModel(String text, String target, String template, String[] args) { setText(text); setTarget(target); setURL(createURL(template, args)); }
/** * * @param text * @param target * @param url */ public LinkModel(String text, String target, URL url) { setText(text); setTarget(target); setURL(url != null ? url : getDefaultURL()); }
/** * * @param text * @param target * @param url */ public LinkModel(String text, String target, URL url) { setText(text); setTarget(target); setURL(url != null ? url : getDefaultURL()); }
/** * * @param text * @param target * @param url */ public LinkModel(String text, String target, URL url) { setText(text); setTarget(target); setURL(url != null ? url : getDefaultURL()); }