Codota Logo
IComponentHierarchyBase.setPage
Code IndexAdd Codota to your IDE (free)

How to use
setPage
method
in
com.jwebmp.core.base.interfaces.IComponentHierarchyBase

Best Java code snippets using com.jwebmp.core.base.interfaces.IComponentHierarchyBase.setPage (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: com.jwebmp.jre11/jwebmp-core

/**
 * Sets the page this component belongs on.
 * Null to reset the page hierarchy for all children
 * <p>
 *
 * @param page
 *         A Page
 *
 * @see com.jwebmp.core.base.interfaces.IComponentHierarchyBase#setPage(Page)
 */
@Override
@SuppressWarnings("unchecked")
public J setPage(Page page)
{
  this.page = page;
  getChildren().forEach(child -> child.setPage(page));
  return (J) this;
}
origin: com.jwebmp/jwebmp-core

/**
 * Sets the page this component belongs on.
 * Null to reset the page hierarchy for all children
 * <p>
 *
 * @param page
 *         A Page
 *
 * @see com.jwebmp.core.base.interfaces.IComponentHierarchyBase#setPage(Page)
 */
@Override
@SuppressWarnings("unchecked")
public J setPage(Page page)
{
  this.page = page;
  getChildren().forEach(child -> child.setPage(page));
  return (J) this;
}
origin: com.jwebmp.jre10/jwebmp-core

/**
 * Sets the page this component belongs on.
 * Null to reset the page hierarchy for all children
 * <p>
 *
 * @param page
 *         A Page
 *
 * @see com.jwebmp.core.base.interfaces.IComponentHierarchyBase#setPage(Page)
 */
@Override
@SuppressWarnings("unchecked")
public J setPage(Page page)
{
  this.page = page;
  getChildren().forEach(child -> child.setPage(page));
  return (J) this;
}
origin: com.jwebmp/jwebmp-core

/**
 * 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;
}
origin: com.jwebmp.jre11/jwebmp-core

/**
 * 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;
}
origin: com.jwebmp.jre10/jwebmp-core

/**
 * 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;
}
com.jwebmp.core.base.interfacesIComponentHierarchyBasesetPage

Javadoc

Sets the page this component belongs on.

Popular methods of IComponentHierarchyBase

  • addClass
    Adds a class name to the class list
  • asAttributeBase
  • asBase
  • destroy
  • getChildrenHierarchy
    Get an array list of all children and their children recursively Excludes this object
  • getCssReferencesAll
    Adds in the JavaScript References for all the children
  • getEventsAll
    Returns a complete list of events
  • getJavascriptReferencesAll
    Adds in the JavaScript References for all the children
  • init
  • isConfigured
  • preConfigure
  • removeClass
    Removes a class name from this component
  • preConfigure,
  • removeClass,
  • setParent,
  • setTiny,
  • toString

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JList (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now