/** * The constructor constructs all of the elements of this <tt>AbstractPaneItem</tt>. * * @param key the key for this <tt>AbstractPaneItem</tt> that the superclass uses to generate * locale-specific keys */ public StatusBarConnectionQualityPaneItem() { super(TITLE, LABEL); LabeledComponent comp = new LabeledComponent( CHECK_BOX_LABEL, CHECK_BOX, LabeledComponent.LEFT_GLUE, LabeledComponent.LEFT); add(comp.getComponent()); }
/** * The constructor constructs all of the elements of this <tt>AbstractPaneItem</tt>. * * @param key the key for this <tt>AbstractPaneItem</tt> that the superclass uses to generate * locale-specific keys */ public AutoClearDownloadsPaneItem() { super(TITLE, LABEL); LabeledComponent comp = new LabeledComponent( CHECK_BOX_LABEL, CHECK_BOX, LabeledComponent.LEFT_GLUE, LabeledComponent.LEFT); add(comp.getComponent()); }
public NotificationsPaneItem() { super(TITLE, LABEL); LabeledComponent comp = new LabeledComponent( SHOW_NOTIFICATIONS_LABEL, SHOW_NOTIFICATIONS_CHECK_BOX, LabeledComponent.LEFT_GLUE, LabeledComponent.LEFT); add(comp.getComponent()); }
/** * The constructor constructs all of the elements of this <tt>AbstractPaneItem</tt>. * * @param key the key for this <tt>AbstractPaneItem</tt> that the superclass uses to generate * locale-specific keys */ public ShowPromoOverlaysPaneItem() { super(TITLE, LABEL); LabeledComponent c = new LabeledComponent( SHOW_PROMOTION_OVERLAYS_LABEL, CHECK_BOX, LabeledComponent.LEFT_GLUE, LabeledComponent.LEFT); add(c.getComponent()); }