Examples of disconnectChild()


Examples of com.hlcl.rql.as.Container.disconnectChild()

   * Returns the disconnected text block or null, if no block were disconnected.
   */
  public TextBlock disconnectTextBlock(TextBlock textBlock) throws RQLException {
    Container blocksContainer = getBlocksContainer();
    if (blocksContainer.isChild(textBlock.getPage())) {
      blocksContainer.disconnectChild(textBlock.getPage());
      return textBlock;
    }
    // signal that given text block is not a child
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.