litesoft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
package org.litesoft.datt.client.ui.views;
import org.litesoft.GWT.client.widgets.*;
import org.litesoft.GWT.forms.client.*;
import org.litesoft.datt.client.boviews.*;
import com.google.gwt.user.client.ui.*;
public class StoryInfoPanel extends SizeableHorizontalSplitPairPanel implements StoryViewNames
{
public StoryInfoPanel( FormBinder<StoryView> pFB )
{
stretchable();
add( createLeftPanel( pFB ) );
add( pFB.add( aChanges ) );
}
private Widget createLeftPanel( FormBinder<StoryView> pFB )
{
SizeableHorizontalPanel zPanel = new SizeableHorizontalPanel().stretchable();
zPanel.add( columnOne( pFB ) );
zPanel.add( columnTwo( pFB ) );
return zPanel;
}
private Widget columnOne( FormBinder<StoryView> pFB )
{
SizeableVerticalPanel zPanel = new SizeableVerticalPanel().stretchableVertically();
zPanel.add( pFB.add( aName ) );
zPanel.add( pFB.add( aIsDone ) );
zPanel.add( pFB.add( aCreatorFullName ) );
zPanel.add( new Spacer( 10 ) );
return zPanel;
}
private Widget columnTwo( FormBinder<StoryView> pFB )
{
return pFB.add( aDescription );
}
}
|
Revision |
Author |
Commited |
Message |
430
|
GeorgeS
|
Sat 20 Aug, 2011 19:46:21 +0000 |
|