本文整理匯總了Java中com.google.gwt.user.client.ui.UIObject.isVisible方法的典型用法代碼示例。如果您正苦於以下問題:Java UIObject.isVisible方法的具體用法?Java UIObject.isVisible怎麽用?Java UIObject.isVisible使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類com.google.gwt.user.client.ui.UIObject
的用法示例。
在下文中一共展示了UIObject.isVisible方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: setHeaderVisible
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
void setHeaderVisible(boolean show) {
DiffScreen parent = getDiffScreen();
if (show != UIObject.isVisible(patchSetNavRow)) {
UIObject.setVisible(patchSetNavRow, show);
UIObject.setVisible(diffHeaderRow, show && header);
if (show) {
parent.header.removeStyleName(Resources.I.diffTableStyle().fullscreen());
} else {
parent.header.addStyleName(Resources.I.diffTableStyle().fullscreen());
}
parent.resizeCodeMirror();
}
}
示例2: isVisible
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
private boolean isVisible() {
final Widget widget = getLockTargetWidget();
final Element element = widget.getElement();
boolean visible = UIObject.isVisible(element) &&
(element.getAbsoluteLeft() != 0) && (element.getAbsoluteTop() != 0);
return visible;
}
示例3: execute
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
public void execute(BuiltInFunctionGVO builtInFunction) {
if (builtInFunction instanceof ToggleGVO) {
if (builtInFunction.getComponents() != null) {
for (BuiltInComponentGVO builtInComponentGVO : builtInFunction.getComponents()) {
String component = builtInComponentGVO.getComponentIdUUID();
List<UIObject> uiObjects = null;
if (component!=null){
uiObjects = RendererHelper.getComponent(component);
} else {
uiObjects = RendererHelper.getNamedComponent(builtInComponentGVO.getComponentName());
}
if (uiObjects !=null){
for (UIObject uiObject : uiObjects) {
if (uiObject.isVisible()){
uiObject.setVisible(false);
} else {
uiObject.setVisible(true);
}
}
}
}
}
}
FunctionsExecutor.setProcessedBuiltIn(true);
}
示例4: isElementVisible
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
private static boolean isElementVisible(Element element) {
if (UIObject.isVisible(element)) {
String visibility = element.getStyle().getVisibility();
if (visibility == null || !visibility.equals(Visibility.HIDDEN.getCssName())) {
return true;
}
}
return false;
}
示例5: isOpen
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
@Override
boolean isOpen() {
return UIObject.isVisible(message);
}
示例6: isOpen
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
@Override
boolean isOpen() {
return UIObject.isVisible(p_view);
}
示例7: isEdit
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
boolean isEdit() {
return UIObject.isVisible(p_edit);
}
示例8: isOpen
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
private boolean isOpen() {
return UIObject.isVisible(message);
}
示例9: isVisible
import com.google.gwt.user.client.ui.UIObject; //導入方法依賴的package包/類
/**
* Determines whether or not this cell is visible.
*
* @param row the row of the cell whose visibility is to be set
* @param column the column of the cell whose visibility is to be set
* @return <code>true</code> if the object is visible
*/
public boolean isVisible(int row, int column) {
Element e = getElement(row, column);
return UIObject.isVisible(e);
}