/** * Creates a new instance of JHyperLink and configures it from provided Action. * * @param action Action whose parameters will be borrowed to configure newly * created JXHyperLink */ public JXHyperlink(Action action) { super(); setAction(action); init(); }
/** * Creates a new instance of JHyperLink and configures it from provided Action. * * @param action Action whose parameters will be borrowed to configure newly * created JXHyperLink */ public JXHyperlink(Action action) { super(); setAction(action); init(); }
/** * Creates a new instance of JHyperLink and configures it from provided Action. * * @param action Action whose parameters will be borrowed to configure newly * created JXHyperLink */ public JXHyperlink(Action action) { super(); setAction(action); init(); }
/** * Creates a new instance of JHyperLink and configures it from provided Action. * * @param action Action whose parameters will be borrowed to configure newly * created JXHyperLink */ public JXHyperlink(Action action) { super(); setAction(action); init(); }
/** * Creates a new instance of JHyperLink and configures it from provided Action. * * @param action Action whose parameters will be borrowed to configure newly * created JXHyperLink */ public JXHyperlink(Action action) { super(); setAction(action); init(); }
/** * Convenience method to create and install a HyperlinkAction for the given URI. * * @param uri * to uri to create a HyperlinkAction for, maybe null. * @throws HeadlessException * if {@link GraphicsEnvironment#isHeadless()} returns {@code true} * @throws UnsupportedOperationException * if the current platform doesn't support Desktop * * @see HyperlinkAction#createHyperlinkAction(URI) */ public void setURI(URI uri) { setAction(HyperlinkAction.createHyperlinkAction(uri)); }
/** * Convenience method to create and install a HyperlinkAction for the given URI. * * @param uri * to uri to create a HyperlinkAction for, maybe null. * @throws HeadlessException * if {@link GraphicsEnvironment#isHeadless()} returns {@code true} * @throws UnsupportedOperationException * if the current platform doesn't support Desktop * * @see HyperlinkAction#createHyperlinkAction(URI) */ public void setURI(URI uri) { setAction(HyperlinkAction.createHyperlinkAction(uri)); }
/** * Convenience method to create and install a HyperlinkAction for the given URI. * * @param uri * to uri to create a HyperlinkAction for, maybe null. * @throws HeadlessException * if {@link GraphicsEnvironment#isHeadless()} returns {@code true} * @throws UnsupportedOperationException * if the current platform doesn't support Desktop * * @see HyperlinkAction#createHyperlinkAction(URI) */ public void setURI(URI uri) { setAction(HyperlinkAction.createHyperlinkAction(uri)); }
/** * Convenience method to create and install a HyperlinkAction for the given URI. * * @param uri * to uri to create a HyperlinkAction for, maybe null. * @throws HeadlessException * if {@link GraphicsEnvironment#isHeadless()} returns {@code true} * @throws UnsupportedOperationException * if the current platform doesn't support Desktop * * @see HyperlinkAction#createHyperlinkAction(URI) */ public void setURI(URI uri) { setAction(HyperlinkAction.createHyperlinkAction(uri)); }
/** * Sets the actions for backward, forward and zoom out navigation. * * @param prev * @param next * @param zoomOut */ public void setActions(Action prev, Action next, Action zoomOut) { prevButton.setAction(prev); nextButton.setAction(next); zoomOutLink.setAction(zoomOut); }
/** * Sets the actions for backward, forward and zoom out navigation. * * @param prev * @param next * @param zoomOut */ public void setActions(Action prev, Action next, Action zoomOut) { prevButton.setAction(prev); nextButton.setAction(next); zoomOutLink.setAction(zoomOut); }
/** * Sets the actions for backward, forward and zoom out navigation. * * @param prev * @param next * @param zoomOut */ public void setActions(Action prev, Action next, Action zoomOut) { prevButton.setAction(prev); nextButton.setAction(next); zoomOutLink.setAction(zoomOut); }
/** * Sets the actions for backward, forward and zoom out navigation. * * @param prev * @param next * @param zoomOut */ public void setActions(Action prev, Action next, Action zoomOut) { prevButton.setAction(prev); nextButton.setAction(next); zoomOutLink.setAction(zoomOut); }
/** * Sets the actions for backward, forward and zoom out navigation. * * @param prev * @param next * @param zoomOut */ public void setActions(Action prev, Action next, Action zoomOut) { prevButton.setAction(prev); nextButton.setAction(next); zoomOutLink.setAction(zoomOut); }
/** * Sets the actions for backward, forward and zoom out navigation. * * @param prev * @param next * @param zoomOut */ public void setActions(Action prev, Action next, Action zoomOut) { prevButton.setAction(prev); nextButton.setAction(next); zoomOutLink.setAction(zoomOut); }
/** * Sets the LinkAction for handling the values and the * class the action can handle. <p> * * PENDING: in the general case this is not independent of the * targetClass. Need api to set them combined? * * @param linkAction */ public void setLinkAction(AbstractHyperlinkAction linkAction, Class<?> targetClass) { if (linkAction == null) { linkAction = createDefaultLinkAction(); } setTargetClass(targetClass); this.linkAction = linkAction; rendererComponent.setAction(linkAction); } /**
/** * Sets the LinkAction for handling the values and the * class the action can handle. <p> * * PENDING: in the general case this is not independent of the * targetClass. Need api to set them combined? * * @param linkAction */ public void setLinkAction(AbstractHyperlinkAction linkAction, Class<?> targetClass) { if (linkAction == null) { linkAction = createDefaultLinkAction(); } setTargetClass(targetClass); this.linkAction = linkAction; rendererComponent.setAction(linkAction); } /**
/** * Sets the LinkAction for handling the values and the * class the action can handle. <p> * * PENDING: in the general case this is not independent of the * targetClass. Need api to set them combined? * * @param linkAction */ public void setLinkAction(AbstractHyperlinkAction linkAction, Class targetClass) { if (linkAction == null) { linkAction = createDefaultLinkAction(); } setTargetClass(targetClass); this.linkAction = linkAction; rendererComponent.setAction(linkAction); } /**
/** * Sets the LinkAction for handling the values and the * class the action can handle. <p> * * PENDING: in the general case this is not independent of the * targetClass. Need api to set them combined? * * @param linkAction */ public void setLinkAction(AbstractHyperlinkAction linkAction, Class<?> targetClass) { if (linkAction == null) { linkAction = createDefaultLinkAction(); } setTargetClass(targetClass); this.linkAction = linkAction; rendererComponent.setAction(linkAction); } /**
/** * Sets the LinkAction for handling the values and the * class the action can handle. <p> * * PENDING: in the general case this is not independent of the * targetClass. Need api to set them combined? * * @param linkAction */ public void setLinkAction(AbstractHyperlinkAction linkAction, Class<?> targetClass) { if (linkAction == null) { linkAction = createDefaultLinkAction(); } setTargetClass(targetClass); this.linkAction = linkAction; rendererComponent.setAction(linkAction); } /**