org.eaglei.datatools.client.ui
Class EditWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.eaglei.datatools.client.ui.EditWidget
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener
Direct Known Subclasses:
EIResourceWidget, ObjectWidget, TermWidget, TextAreaWidget, TextWidget

public abstract class EditWidget
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
protected  org.eaglei.model.EIInstance eiInstance
           
protected  com.google.gwt.user.client.ui.Label label
           
protected  java.lang.String oldValue
           
protected  org.eaglei.model.EIEntity propertyEntity
           
protected  boolean shouldShowLabel
           
protected  com.google.gwt.user.client.ui.HorizontalPanel widgetPanel
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Method Summary
abstract  EditWidget duplicateBlank()
           
protected  java.lang.String getLabel()
           
protected  org.eaglei.model.EIURI getOldEIURIValue()
           
protected  java.lang.String getOldStringValue()
           
protected  boolean hasOldValue()
           
protected abstract  void removeValue()
           
protected  void setLabelContents(java.lang.String newContents)
           
 void setShouldShowLabel(boolean shouldShowLabel)
           
 boolean shouldShowLabel()
           
protected  void updateOldValue(org.eaglei.model.EIURI oldValue)
           
protected  void updateOldValue(java.lang.String oldValue)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

widgetPanel

protected com.google.gwt.user.client.ui.HorizontalPanel widgetPanel

eiInstance

protected org.eaglei.model.EIInstance eiInstance

propertyEntity

protected org.eaglei.model.EIEntity propertyEntity

oldValue

protected java.lang.String oldValue

shouldShowLabel

protected boolean shouldShowLabel

label

protected com.google.gwt.user.client.ui.Label label
Method Detail

setLabelContents

protected void setLabelContents(java.lang.String newContents)

updateOldValue

protected void updateOldValue(java.lang.String oldValue)

updateOldValue

protected void updateOldValue(org.eaglei.model.EIURI oldValue)

removeValue

protected abstract void removeValue()

duplicateBlank

public abstract EditWidget duplicateBlank()

getOldEIURIValue

protected org.eaglei.model.EIURI getOldEIURIValue()

getOldStringValue

protected java.lang.String getOldStringValue()

hasOldValue

protected boolean hasOldValue()

shouldShowLabel

public boolean shouldShowLabel()

getLabel

protected java.lang.String getLabel()

setShouldShowLabel

public void setShouldShowLabel(boolean shouldShowLabel)


Copyright © 2009-2010 Eagle-I. All Rights Reserved.