Package com.google.gdt.eclipse.designer.model.widgets.panels.grid.HTMLTableInfo

Examples of com.google.gdt.eclipse.designer.model.widgets.panels.grid.HTMLTableInfo.CellInvocationsVisitor


   */
  private void visitColumnInvocations(final ColumnInvocationsVisitor visitor) {
    final int index = getIndex();
    ExecutionUtils.runRethrow(new RunnableEx() {
      public void run() throws Exception {
        m_panel.visitCellInvocations(new CellInvocationsVisitor() {
          public void visit(MethodDescription methodDescription,
              MethodInvocation invocation,
              Expression rowArgument,
              Expression cellArgument,
              int row,
View Full Code Here


    if (hasWidthFill()) {
      return ColumnInfo.Alignment.FILL;
    }
    // analyze setAlignment() invocations
    final ColumnInfo.Alignment[] result = new ColumnInfo.Alignment[]{ColumnInfo.Alignment.UNKNOWN};
    m_panel.visitCellInvocations(new CellInvocationsVisitor() {
      public void visit(MethodDescription methodDescription,
          MethodInvocation invocation,
          Expression rowArgument,
          Expression cellArgument,
          int row,
View Full Code Here

  /**
   * Sets horizontal alignment of {@link WidgetInfo} in cell.
   */
  public void setHorizontalAlignment(ColumnInfo.Alignment alignment) throws Exception {
    // remove existing alignment invocations
    m_panel.visitCellInvocations(new CellInvocationsVisitor() {
      public void visit(MethodDescription methodDescription,
          MethodInvocation invocation,
          Expression rowArgument,
          Expression cellArgument,
          int row,
View Full Code Here

    if (hasHeightFill()) {
      return RowInfo.Alignment.FILL;
    }
    // analyze setAlignment() invocations
    final RowInfo.Alignment[] result = new RowInfo.Alignment[]{RowInfo.Alignment.UNKNOWN};
    m_panel.visitCellInvocations(new CellInvocationsVisitor() {
      public void visit(MethodDescription methodDescription,
          MethodInvocation invocation,
          Expression rowArgument,
          Expression cellArgument,
          int row,
View Full Code Here

  /**
   * Sets vertical alignment of {@link WidgetInfo} in cell.
   */
  public void setVerticalAlignment(RowInfo.Alignment alignment) throws Exception {
    // remove existing alignment invocations
    m_panel.visitCellInvocations(new CellInvocationsVisitor() {
      public void visit(MethodDescription methodDescription,
          MethodInvocation invocation,
          Expression rowArgument,
          Expression cellArgument,
          int row,
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.model.widgets.panels.grid.HTMLTableInfo.CellInvocationsVisitor

Copyright © 2018 www.massapicom. 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.