/** * Overrides this and all below components to set tiny false * * @param tiny * * @return super.tiny * * @see ComponentEventBase#setTiny(boolean) */ @Override @NotNull public J setTiny(boolean tiny) { getChildren().forEach(child -> child.setTiny(tiny)); return super.setTiny(tiny); }
/** * Overrides this and all below components to set tiny false * * @param tiny * * @return super.tiny * * @see ComponentEventBase#setTiny(boolean) */ @Override @NotNull public J setTiny(boolean tiny) { getChildren().forEach(child -> child.setTiny(tiny)); return super.setTiny(tiny); }
/** * Overrides this and all below components to set tiny false * * @param tiny * * @return super.tiny * * @see ComponentEventBase#setTiny(boolean) */ @Override @NotNull public J setTiny(boolean tiny) { getChildren().forEach(child -> child.setTiny(tiny)); return super.setTiny(tiny); }
/** * Add a new child to this component * <p> * * @param newChild * The child to be added * <p> * * @return The new child added */ @Override @SuppressWarnings("unchecked") @NotNull public J add(@NotNull C newChild) { newChild.setParent(this); newChild.setTiny(isTiny()); newChild.setPage(getPage()); getChildren().add(newChild); newChild.init(); newChild.preConfigure(); return (J) this; }
/** * Add a new child to this component * <p> * * @param newChild * The child to be added * <p> * * @return The new child added */ @Override @SuppressWarnings("unchecked") @NotNull public J add(@NotNull C newChild) { newChild.setParent(this); newChild.setTiny(isTiny()); newChild.setPage(getPage()); getChildren().add(newChild); newChild.init(); newChild.preConfigure(); return (J) this; }
/** * Add a new child to this component * <p> * * @param newChild * The child to be added * <p> * * @return The new child added */ @Override @SuppressWarnings("unchecked") @NotNull public J add(@NotNull C newChild) { newChild.setParent(this); newChild.setTiny(isTiny()); newChild.setPage(getPage()); getChildren().add(newChild); newChild.init(); newChild.preConfigure(); return (J) this; }