本文整理汇总了Java中com.google.gwt.user.client.ui.RootPanel.setVisible方法的典型用法代码示例。如果您正苦于以下问题:Java RootPanel.setVisible方法的具体用法?Java RootPanel.setVisible怎么用?Java RootPanel.setVisible使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.google.gwt.user.client.ui.RootPanel
的用法示例。
在下文中一共展示了RootPanel.setVisible方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
String id = panel.getElement().getInnerText();
panel.getElement().setInnerText(null);
panel.add(this);
panel.setVisible(true);
RPC.execute(new SolverAllocatedMemoryRpcRequest(id), new AsyncCallback<SolverAllocatedMemoryRpcResponse>() {
@Override
public void onFailure(Throwable caught) {
}
@Override
public void onSuccess(SolverAllocatedMemoryRpcResponse result) {
setWidget(new Label(result.getValue()));
}
});
}
示例2: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
initCallbacks();
iOfferingId = Long.valueOf(panel.getElement().getInnerText());
if (ReservationCookie.getInstance().getReservationCoursesDetails()) {
refresh();
} else {
clear(false);
iHeader.clearMessage();
iHeader.setCollapsible(false);
}
panel.getElement().setInnerText(null);
panel.add(this);
panel.setVisible(true);
addReservationClickHandler(new ReservationClickHandler() {
@Override
public void onClick(ReservationClickedEvent evt) {
ToolBox.open(GWT.getHostPageBaseURL() + "gwt.jsp?page=reservation&id=" + evt.getReservation().getId() + "&reservations=" + getReservationIds());
}
});
}
示例3: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
iInstructorId = panel.getElement().getInnerText();
if (InstructorCookie.getInstance().isShowTeachingAssignments()) {
refresh();
}
panel.getElement().setInnerText(null);
panel.add(this);
panel.setVisible(true);
}
示例4: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
iOfferingId = Long.valueOf(panel.getElement().getInnerText());
if (InstructorCookie.getInstance().isShowTeachingRequests()) {
refresh();
}
panel.getElement().setInnerText(null);
panel.add(this);
panel.setVisible(true);
}
示例5: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
initCallbacks();
iOfferingId = Long.valueOf(panel.getElement().getInnerText());
iCourseName = null;
if (CurriculumCookie.getInstance().getCurriculaCoursesDetails()) {
refresh();
} else {
iHeader.clearMessage();
iHeader.setCollapsible(false);
}
panel.getElement().setInnerText(null);
panel.add(this);
panel.setVisible(true);
}
示例6: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
iOfferingId = Long.valueOf(panel.getElement().getInnerText());
if (iOfferingId >= 0 && iShowFilter)
iHeader.setHeaderTitle(MESSAGES.studentsTable());
if (SectioningCookie.getInstance().getEnrollmentCoursesDetails()) {
refresh();
} else {
clear();
iHeader.clearMessage();
iHeader.setCollapsible(false);
}
panel.getElement().setInnerText(null);
panel.add(this);
panel.setVisible(true);
}
示例7: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
if ("hide".equals(Window.Location.getParameter("menu"))) {
panel.setVisible(false);
} else {
attach(panel);
RootPanel.get("UniTimeGWT:MobileMenuPanel").add(iStackPanel);
}
}
示例8: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
load(Long.valueOf(panel.getElement().getInnerText()));
panel.getElement().setInnerText(null);
panel.add(this);
panel.setVisible(true);
}
示例9: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
panel.add(this);
panel.setVisible(true);
}
示例10: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
if ("hide".equals(Window.Location.getParameter("menu")))
panel.setVisible(false);
else
attach(panel);
}
示例11: insert
import com.google.gwt.user.client.ui.RootPanel; //导入方法依赖的package包/类
public void insert(final RootPanel panel) {
if (panel.getWidgetCount() > 0) return;
panel.add(iHeader);
panel.setVisible(true);
}