Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8638881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:51:11+00:00 2026-06-12T10:51:11+00:00

I need to implement a DockLayoutPanel in UiBinder. I knew that we can use

  • 0

I need to implement a DockLayoutPanel in UiBinder. I knew that we can use < g:north> < g:west> and so on in UiBinder to do the same thing as what DockLayoutPanel.addNorth(), DockLayoutPanel.addWest() do.

My question is that, is there anything in Uibinder, which can do the same thing as DockLayoutPanel.insertNorth(), DockLayoutPanel.insertWest()?

Also, are there any official documents that I can search the Uibinder commands so that I can know what I can use for uibinder?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T10:51:12+00:00Added an answer on June 12, 2026 at 10:51 am

    Both add*() and insert*() methods of the DockLayoutPanel are for programmatic runtime addition of sub-panels. UiBinder doesn’t do “the same thing” as those methods. Your work directly with UiBinder happens during design time only.

    UiBinder is a static layout tool, a “snapshot” of your widget immediately after initialization, a way to describe what the positioning of elements relative to each other is at first.

    The widgets you specify using UiBinder can be programmatically manipulated after initialization. Suppose you’ve specified the following layout:

     <g:DockLayoutPanel ui:field="myDockPanel">
        <g:north size="100">
            <g:Label ui:field="northernLabel">I am far north</g:Label>
        </g:north>
        <g:center>
            <g:Label ui:field="centerLabel">Center Stage</g:Label>
        </g:center>
    </g:DockLayoutPanel>
    

    In the code running after your view initializes you can now go:

    myDockPanel.insertNorth(new Label("I am even farther north!"), 100.0, northernLabel);
    

    Also, are there any official documents that I can search the Uibinder
    commands so that I can know what I can use for uibinder?

    Google Dev Guide section on declarative layout with UiBinder is as official as you can get, AFAIK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i need to implement a messaging scenario that consumes messages from throusands of destinations
need to implement a global error handling, so maybe you can help out with
I need to implement the following flow in my application: the user can click
Need to implement functionality similar to what dotdotdot jQuery plugin does but cannot use
I need to implement a chat system for a website, so that customers of
I need to implement a recursive function that returns 1 if the number is
I need to implement an SVN pre-commit hook which executes a script that itself
I need to implement a thing in my website ie: If I click on
I need to implement the following thing in my web-application. I know my solution
I need to implement the website visitor count Usercontrol.Can any one help me regarding

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.