/** * The <rich:chartXAxis> tag * @author Lukas Macko */ @JsfComponent(tag = @Tag(name="chartXAxis")) public abstract class AbstractChartXAxis extends javax.faces.component.UIComponentBase implements AxisAttributes{ public static final String COMPONENT_TYPE = "org.richfaces.ui.output.XAxis"; public static final String COMPONENT_FAMILY = "org.richfaces.ui.output.ChartFamily"; }
/** * The <rich:chartYAxis> tag * @author Lukas Macko */ @JsfComponent(tag = @Tag(name = "chartYAxis")) public abstract class AbstractChartYAxis extends javax.faces.component.UIComponentBase implements AxisAttributes { public static final String COMPONENT_TYPE = "org.richfaces.ui.output.YAxis"; public static final String COMPONENT_FAMILY = "org.richfaces.ui.output.ChartFamily"; }
/** * The <rich:chartPoint> tag defines the value of point. It is supposed to be used * inside the <r:series< tag. * @author Lukas Macko */ @JsfComponent(tag = @Tag(name = "chartPoint")) public abstract class AbstractChartPoint extends javax.faces.component.UIComponentBase implements AxisAttributes { public static final String COMPONENT_TYPE = "org.richfaces.ui.output.Point"; public static final String COMPONENT_FAMILY = "org.richfaces.ui.output.ChartFamily"; /** * Value plotted on x-axis. */ @Attribute(required = true) public abstract Object getX(); /** * Value plotted on y-axis. */ @Attribute(required = true) public abstract Object getY(); }
@JsfComponent(tag = @Tag(name = "region", type = TagType.Facelets)) public abstract class AbstractRegion extends UIComponentBase implements MetaComponentResolver, AjaxContainer { public static final String COMPONENT_TYPE = "org.richfaces.Region";
@JsfComponent(tag = @Tag(name = "region", type = TagType.Facelets)) public abstract class AbstractRegion extends UIComponentBase implements MetaComponentResolver, AjaxContainer { public static final String COMPONENT_TYPE = "org.richfaces.Region";
/** * <p>The <rich:menuSeparator> component represents a separating divider in a menu control.</p> */ @JsfComponent(family = AbstractDropDownMenu.COMPONENT_FAMILY, type = AbstractMenuSeparator.COMPONENT_TYPE, renderer = @JsfRenderer(type = MenuSeparatorRendererBase.RENDERER_TYPE), tag = @Tag(name = "menuSeparator")) public abstract class AbstractMenuSeparator extends UIComponentBase { public static final String COMPONENT_TYPE = "org.richfaces.MenuSeparator"; @Attribute(generate = false, hidden = true, readOnly = true) public Object getCssRoot() { return getParent().getAttributes().get("cssRoot"); } }
/** * <p>The <rich:menuSeparator> component represents a separating divider in a menu control.</p> */ @JsfComponent(family = AbstractDropDownMenu.COMPONENT_FAMILY, type = AbstractMenuSeparator.COMPONENT_TYPE, renderer = @JsfRenderer(type = MenuSeparatorRendererBase.RENDERER_TYPE), tag = @Tag(name = "menuSeparator")) public abstract class AbstractMenuSeparator extends UIComponentBase { public static final String COMPONENT_TYPE = "org.richfaces.MenuSeparator"; @Attribute(generate = false, hidden = true, readOnly = true) public Object getCssRoot() { return getParent().getAttributes().get("cssRoot"); } }
/** * <p>The <rich:message> component renders a single FacesMessage message instance added for the component. The * appearance of the message can be customized, and tool-tips can be used for further information about the * message.</p> * * @author asmirnov@exadel.com */ @JsfComponent( generate = "org.richfaces.component.html.HtmlMessage", type = "org.richfaces.Message", tag = @Tag(name = "message"), renderer = @JsfRenderer(template = "message.template.xml", type = "org.richfaces.MessageRenderer")) public abstract class AbstractMessage extends UIMessage implements AjaxOutput, AjaxOutputProps, CoreProps, I18nProps, OutputFormatProps { @Attribute(hidden = true) public abstract boolean isKeepTransient(); @Attribute(hidden = true) public abstract boolean isDisabled(); }
/** * <p> * The <a4j:jsFunction> component performs Ajax requests directly from JavaScript code and retrieves server-side data. * The server-side data is returned in JavaScript Object Notation (JSON) format prior to the execution of any JavaScript * code defined using the "oncomplete" attribute. * </p> * @author asmirnov@exadel.com */ @JsfComponent(renderer = @JsfRenderer(type = "org.richfaces.FunctionRenderer"), tag = @Tag(name = "jsFunction", type = TagType.Facelets)) public abstract class AbstractAjaxFunction extends BasicActionComponent implements AjaxCommandProps, BypassProps { public static final String COMPONENT_FAMILY = "javax.faces.Command"; public static final String COMPONENT_TYPE = "org.richfaces.Function"; /** * The name of the generated javascript function */ @Attribute(required = true) public abstract String getName(); }
/** * <p> * The <a4j:jsFunction> component performs Ajax requests directly from JavaScript code and retrieves server-side data. * The server-side data is returned in JavaScript Object Notation (JSON) format prior to the execution of any JavaScript * code defined using the "oncomplete" attribute. * </p> * @author asmirnov@exadel.com */ @JsfComponent(renderer = @JsfRenderer(type = "org.richfaces.FunctionRenderer"), tag = @Tag(name = "jsFunction", type = TagType.Facelets), attributes = { "ajax-props.xml" }) public abstract class AbstractAjaxFunction extends AbstractActionComponent { public static final String COMPONENT_FAMILY = "javax.faces.Command"; public static final String COMPONENT_TYPE = "org.richfaces.Function"; /** * The name of the generated javascript function */ @Attribute(required = true) public abstract String getName(); }
/** * <p> * The <a4j:jsFunction> component performs Ajax requests directly from JavaScript code and retrieves server-side data. * The server-side data is returned in JavaScript Object Notation (JSON) format prior to the execution of any JavaScript * code defined using the "oncomplete" attribute. * </p> * @author asmirnov@exadel.com */ @JsfComponent(renderer = @JsfRenderer(type = "org.richfaces.FunctionRenderer"), tag = @Tag(name = "jsFunction", type = TagType.Facelets), attributes = { "ajax-props.xml" }) public abstract class AbstractAjaxFunction extends AbstractActionComponent { public static final String COMPONENT_FAMILY = "javax.faces.Command"; public static final String COMPONENT_TYPE = "org.richfaces.Function"; /** * The name of the generated javascript function */ @Attribute(required = true) public abstract String getName(); }
/** * <p>The <rich:menuSeparator> component represents a separating divider in a menu control.</p> */ @JsfComponent(family = AbstractDropDownMenu.COMPONENT_FAMILY, type = AbstractMenuSeparator.COMPONENT_TYPE, renderer = @JsfRenderer(type = MenuSeparatorRendererBase.RENDERER_TYPE), tag = @Tag(name = "menuSeparator")) public abstract class AbstractMenuSeparator extends UIComponentBase { public static final String COMPONENT_TYPE = "org.richfaces.MenuSeparator"; private AbstractMenuContainer parent; @Attribute(generate = false, hidden = true, readOnly = true) public Object getCssRoot() { return findMenuComponent().getAttributes().get("cssRoot"); } public AbstractMenuContainer findMenuComponent() { if (parent != null) { return parent; } UIComponent c = this; while (c != null && !(c instanceof AbstractMenuContainer)) { c = c.getParent(); } parent = (AbstractMenuContainer) c; return parent; } }
@JsfComponent(tag = @Tag(name = "notifyStack"), type = AbstractNotifyStack.COMPONENT_TYPE, family = AbstractNotifyStack.COMPONENT_FAMILY, renderer = @JsfRenderer(type = "org.richfaces.NotifyStackRenderer")) public abstract class AbstractNotifyStack extends UIComponentBase {
/** * <p> * The non-visual <a4j:repeat> component is used to iterate through a data model. The component renders child content for * every iteration according to the current object data. * </p> * * @author Nick Belaevski */ @JsfComponent(tag = @Tag(name = "repeat", handlerClass = RepeatHandler.class, type = TagType.Facelets), renderer = @JsfRenderer(type = "org.richfaces.RepeatRenderer")) public class UIRepeat extends UISequence implements RowsProps, SequenceProps, IterationProps { public static final String COMPONENT_TYPE = "org.richfaces.Repeat"; public static final String COMPONENT_FAMILY = "javax.faces.Data"; public UIRepeat() { setRendererType("org.richfaces.RepeatRenderer"); } @Override public String getFamily() { return COMPONENT_FAMILY; } }
/** * <p> * The non-visual <a4j:repeat> component is used to iterate through a data model. The component renders child content for * every iteration according to the current object data. * </p> * * @author Nick Belaevski */ @JsfComponent(tag = @Tag(name = "repeat", handler = "org.richfaces.view.facelets.html.RepeatHandler", type = TagType.Facelets), renderer = @JsfRenderer(type = "org.richfaces.RepeatRenderer"), attributes = { "iteration-props.xml", "rows-prop.xml", "sequence-props.xml" }) public class UIRepeat extends UISequence { public static final String COMPONENT_TYPE = "org.richfaces.Repeat"; public static final String COMPONENT_FAMILY = "javax.faces.Data"; public UIRepeat() { setRendererType("org.richfaces.RepeatRenderer"); } @Override public String getFamily() { return COMPONENT_FAMILY; } }
/** * <p>The <rich:notifyMessage> component is built on top of <rich:notify>, the difference is in usage. The * <rich:notifyMessage> component displays FacesMessages associated with a given component, similar to * <rich:message>: one notification is displayed for first FacesMessage in the stack that is risen either * programatically or during conversion/validation of the component. The severity of the message determines the color * and icon of the resulting notification.</p> * * @author <a href="http://community.jboss.org/people/lfryc">Lukas Fryc</a> * @author <a href="http://community.jboss.org/people/bleathem">Brian Leathem</a> */ @JsfComponent( generate = "org.richfaces.component.html.HtmlNotifyMessage", type = "org.richfaces.NotifyMessage", tag = @Tag(name = "notifyMessage"), renderer = @JsfRenderer(template = "notifyMessage.template.xml", type = "org.richfaces.NotifyMessageRenderer")) public abstract class AbstractNotifyMessage extends UIMessage implements AjaxOutput, ClientSideMessage, NotifyAttributes, AjaxOutputProps, CoreProps, I18nProps, OutputFormatProps { @Attribute(hidden = true) public abstract boolean isKeepTransient(); @Attribute(hidden = true) public abstract boolean isDisabled(); public void updateMessages(FacesContext context, String clientId) { // TODO: why this need to be implemented } }
/** * <p> The <rich:notifyMessages> component is the same as the <rich:notifyMessage> component, but each of * the available messages generates one notification. </p> * * @author <a href="http://community.jboss.org/people/lfryc">Lukas Fryc</a> * @author <a href="http://community.jboss.org/people/bleathem">Brian Leathem</a> */ @JsfComponent( generate = "org.richfaces.component.html.HtmlNotifyMessages", type = "org.richfaces.NotifyMessages", tag = @Tag(name = "notifyMessages"), renderer = @JsfRenderer(template = "notifyMessages.template.xml", type = "org.richfaces.NotifyMessagesRenderer")) public abstract class AbstractNotifyMessages extends UIMessages implements AjaxOutput, ClientSideMessage, NotifyAttributes, AjaxOutputProps, CoreProps, EventsKeyProps, EventsMouseProps, I18nProps, OutputFormatProps { @Attribute(hidden = true) public abstract boolean isKeepTransient(); @Attribute(hidden = true) public abstract boolean isDisabled(); public void updateMessages(FacesContext context, String clientId) { // TODO why this need to be implemented? } }
/** * <p> * The non-visual <a4j:repeat> component is used to iterate through a data model. The component renders child content for * every iteration according to the current object data. * </p> * * @author Nick Belaevski */ @JsfComponent(tag = @Tag(name = "repeat", handler = "org.richfaces.view.facelets.html.RepeatHandler", type = TagType.Facelets), renderer = @JsfRenderer(type = "org.richfaces.RepeatRenderer"), attributes = { "iteration-props.xml", "rows-prop.xml", "sequence-props.xml" }) public class UIRepeat extends UISequence { public static final String COMPONENT_TYPE = "org.richfaces.Repeat"; public static final String COMPONENT_FAMILY = "javax.faces.Data"; public UIRepeat() { setRendererType("org.richfaces.RepeatRenderer"); } @Override public String getFamily() { return COMPONENT_FAMILY; } }
@JsfComponent(tag = @Tag(name = "notifyStack"), type = AbstractNotifyStack.COMPONENT_TYPE, family = AbstractNotifyStack.COMPONENT_FAMILY, generate = "org.richfaces.component.UINotifyStack", renderer = @JsfRenderer(type = "org.richfaces.NotifyStackRenderer")) public abstract class AbstractNotifyStack extends UIComponentBase {
@JsfComponent(tag = @Tag(name = "notifyStack"), type = AbstractNotifyStack.COMPONENT_TYPE, family = AbstractNotifyStack.COMPONENT_FAMILY, generate = "org.richfaces.component.UINotifyStack", renderer = @JsfRenderer(type = "org.richfaces.NotifyStackRenderer")) public abstract class AbstractNotifyStack extends UIComponentBase {