本文整理了Java中com.google.gwt.animation.client.Animation.onStart()
方法的一些代码示例,展示了Animation.onStart()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Animation.onStart()
方法的具体详情如下:
包路径:com.google.gwt.animation.client.Animation
类名称:Animation
方法名:onStart
[英]Called immediately before the animation starts.
[中]在动画开始前立即调用。
代码示例来源:origin: com.google.gwt/gwt-servlet
@Override
protected void onStart() {
super.onStart();
if (opening) {
curPanel.contentWrapper.setVisible(true);
// Special treatment on the visible case to ensure LazyPanel works
curPanel.getContent().setVisible(true);
}
}
代码示例来源:origin: com.google.gwt/gwt-servlet
@Override
protected void onStart() {
offsetHeight = curPanel.getOffsetHeight();
offsetWidth = curPanel.getOffsetWidth();
curPanel.getElement().getStyle().setProperty("overflow", "hidden");
super.onStart();
}
代码示例来源:origin: com.google.gwt/gwt-servlet
@Override
protected void onStart() {
scrollHeight = 0;
// If the TreeItem is already open, we can get its scrollHeight
// immediately.
if (!opening) {
scrollHeight = curItem.childSpanElem.getScrollHeight();
}
curItem.childSpanElem.getStyle().setProperty("overflow", "hidden");
// If the TreeItem is already open, onStart will set its height to its
// natural height. If the TreeItem is currently closed, onStart will set
// its height to 1px (see onUpdate below), and then we make the TreeItem
// visible so we can get its correct scrollHeight.
super.onStart();
// If the TreeItem is currently closed, we need to make it visible before
// we can get its height.
if (opening) {
UIObject.setVisible(curItem.childSpanElem, true);
scrollHeight = curItem.childSpanElem.getScrollHeight();
}
}
代码示例来源:origin: com.google.gwt/gwt-servlet
onStart();
if (!isRunning(curRunId)) {
代码示例来源:origin: info.magnolia.ui/magnolia-ui-vaadin-common-widgets
@Override
protected void onStart() {
super.onStart();
this.isCancelled = false;
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@Override
public void onStart() {
super.onStart();
}
代码示例来源:origin: kiegroup/appformer
@Override
public void onStart() {
super.onStart();
}
代码示例来源:origin: kiegroup/appformer
@Override
public void onStart() {
super.onStart();
}
代码示例来源:origin: org.uberfire/widgets-commons
@Override
protected void onStart() {
content.getElement().getStyle().setOverflow(Overflow.HIDDEN);
super.onStart();
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@Override
protected void onStart() {
content.getElement().getStyle().setOverflow(Overflow.HIDDEN);
super.onStart();
}
代码示例来源:origin: kiegroup/appformer
@Override
protected void onStart() {
content.getElement().getStyle().setOverflow(Overflow.HIDDEN);
super.onStart();
}
代码示例来源:origin: org.overlord/overlord-commons-gwt
/**
* @see com.google.gwt.animation.client.Animation#onStart()
*/
@Override
protected final void onStart() {
setRunning(true);
setCancelled(false);
super.onStart();
}
代码示例来源:origin: com.googlecode.gwtquery/gwtquery
protected void onStart() {
// Mark this animation as actual, so as we can stop it in the GQuery.stop() method
$(e).data(ACTUAL_ANIMATION, this);
super.onStart();
}
代码示例来源:origin: org.geomajas/geomajas-client-gwt2-impl
@Override
protected void onStart() {
eventBus.fireEvent(new NavigationStartEvent(this));
super.onStart();
}
代码示例来源:origin: net.wetheinter/gwt-user
@Override
protected void onStart() {
offsetHeight = curPanel.getOffsetHeight();
offsetWidth = curPanel.getOffsetWidth();
curPanel.getElement().getStyle().setProperty("overflow", "hidden");
super.onStart();
}
代码示例来源:origin: net.wetheinter/gwt-user
@Override
protected void onStart() {
super.onStart();
if (opening) {
curPanel.contentWrapper.setVisible(true);
// Special treatment on the visible case to ensure LazyPanel works
curPanel.getContent().setVisible(true);
}
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
@Override
protected void onStart() {
offsetHeight = curPanel.getOffsetHeight();
offsetWidth = curPanel.getOffsetWidth();
curPanel.getElement().getStyle().setProperty("overflow", "hidden");
super.onStart();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
@Override
protected void onStart() {
super.onStart();
if (opening) {
curPanel.contentWrapper.setVisible(true);
// Special treatment on the visible case to ensure LazyPanel works
curPanel.getContent().setVisible(true);
}
}
代码示例来源:origin: org.kuali.student.core/ks-common-ui
@Override
protected void onStart() {
super.onStart();
DOM.setStyleAttribute(curPanel.content.getElement(), "overflow", "hidden");
if (opening) {
curPanel.content.setVisible(true);
// Special treatment on the visible case to ensure LazyPanel works
curPanel.content.setVisible(true);
}
}
代码示例来源:origin: org.kuali.student.core/ks-common-ui
@Override
protected void onStart() {
super.onStart();
DOM.setStyleAttribute(curPanel.content.getElement(), "overflow", "hidden");
if (opening) {
curPanel.content.setVisible(true);
// Special treatment on the visible case to ensure LazyPanel works
curPanel.content.setVisible(true);
}
}
内容来源于网络,如有侵权,请联系作者删除!