IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> deprecated setFlex

This commit is contained in:
Carlos Ruiz 2012-12-19 18:00:00 -05:00
parent b74cf169c0
commit df48675ea8
13 changed files with 30 additions and 29 deletions

View File

@ -96,9 +96,9 @@ public class WResetPassword implements IFormController, EventListener<Event>, Va
Center center = new Center();
center.setStyle("border: none");
contentPane.appendChild(center);
gridPanel.setHflex("true");
gridPanel.setVflex("true");
center.appendChild(gridPanel);
center.setHflex("true");
center.setVflex("true");
South south = new South();
south.setStyle("border: none");
contentPane.appendChild(south);

View File

@ -224,17 +224,17 @@ public final class WAccountDialog extends Window
North nRegion = new North();
nRegion.setParent(layout);
nRegion.setHflex("false");
nRegion.setVflex("false");
northPanel.setHflex("false");
northPanel.setVflex("false");
nRegion.appendChild(northPanel);
nRegion.setStyle("background-color: transparent; border: none");
northPanel.setStyle("background-color: transparent;");
Center cRegion = new Center();
cRegion.setParent(layout);
m_adTabPanel.setHflex("true");
m_adTabPanel.setVflex("true");
cRegion.appendChild(m_adTabPanel);
cRegion.setHflex("true");
cRegion.setVflex("true");
South sRegion = new South();
sRegion.setParent(layout);

View File

@ -137,9 +137,9 @@ public class WChat extends Window implements EventListener<Event>, DialogEvents
//
Center center = new Center();
messageTree.setHflex("true");
messageTree.setVflex("true");
center.appendChild(messageTree);
center.setHflex("true");
center.setVflex("true");
center.setAutoscroll(true);
mainPanel.appendChild(center);
//

View File

@ -285,11 +285,11 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
layout.setStyle("background-color: white; position: absolute; margin:0; border:0; padding:0");
Center center = new Center();
grid.setHflex("true");
grid.setVflex("true");
center.appendChild(grid);
layout.appendChild(center);
center.setStyle("background-color: white; border: 0");
center.setHflex("true");
center.setVflex("true");
South south = new South();
Div southDiv = new Div();

View File

@ -138,13 +138,12 @@ public class WFieldRecordInfo extends Window implements EventListener<Event>
Center center = new Center();
center.setParent(layout);
center.setHflex("true");
center.setVflex("true");
if (showTable)
{
table.setHflex("true");
table.setVflex("true");
center.appendChild(table);
table.setWidth("100%");
table.setVflex(true);
}
//
South south = new South();

View File

@ -137,8 +137,8 @@ public class WImageDialog extends Window implements EventListener<Event>
parameterPanel.appendChild((fileButton));
Center center = new Center();
center.setHflex("true");
center.setVflex("true");
image.setHflex("true");
image.setVflex("true");
center.setParent(mainLayout);
center.appendChild(image);
center.setStyle("background-color: transparent");

View File

@ -171,8 +171,8 @@ public class WMediaDialog extends Window implements EventListener<Event>
Center centerPane = new Center();
centerPane.setAutoscroll(true);
centerPane.setHflex("true");
centerPane.setVflex("true");
previewPanel.setHflex("true");
previewPanel.setVflex("true");
mainPanel.appendChild(centerPane);
centerPane.appendChild(previewPanel);

View File

@ -205,8 +205,8 @@ public class WPAttributeDialog extends Window implements EventListener<Event>
Center center = new Center();
center.setParent(mainLayout);
center.setHflex("true");
center.setVflex("true");
centerPanel.setHflex("true");
centerPanel.setVflex("true");
center.appendChild(centerPanel);
South south = new South();

View File

@ -145,8 +145,8 @@ public class WPAttributeInstance extends Window implements EventListener<Event>
// Center
Center center = new Center();
center.setParent(mainLayout);
center.setHflex("true");
center.setVflex("true");
m_table.setHflex("true");
m_table.setVflex("true");
center.appendChild(m_table);
// South

View File

@ -154,10 +154,10 @@ public class WRecordInfo extends Window implements EventListener<Event>
Center center = new Center();
center.setParent(layout);
center.setHflex("true");
center.setVflex("true");
if (showTable)
{
table.setHflex("true");
table.setVflex("true");
North north = new North();
north.setParent(layout);
north.appendChild(div);
@ -168,6 +168,8 @@ public class WRecordInfo extends Window implements EventListener<Event>
}
else
{
div.setHflex("true");
div.setVflex("true");
center.appendChild(div);
}
//

View File

@ -173,9 +173,9 @@ public class WTask extends Window implements EventListener<Event>
Div div = new Div();
div.setStyle("width: 100%; height:100%; overflow: auto");
div.appendChild(info);
div.setHflex("true");
div.setVflex("true");
center.appendChild(div);
center.setHflex("true");
center.setVflex("true");
South south = new South();
layout.appendChild(south);

View File

@ -82,10 +82,10 @@ public class ZkJRViewer extends Window implements EventListener<Event>, ITabOnCl
north.appendChild(toolbar);
Center center = new Center();
center.setHflex("true");
center.setVflex("true");
layout.appendChild(center);
iframe = new Iframe();
iframe.setHflex("true");
iframe.setVflex("true");
iframe.setId("reportFrame");
iframe.setHeight("100%");
iframe.setWidth("100%");

View File

@ -316,10 +316,10 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
north.appendChild(toolBar);
Center center = new Center();
center.setHflex("true");
center.setVflex("true");
layout.appendChild(center);
iframe = new Iframe();
iframe.setHflex("true");
iframe.setVflex("true");
iframe.setId("reportFrame");
center.appendChild(iframe);