eu.livotov.tpt.gui.dialogs.ui
Class OptionDialogButtonsComponent

java.lang.Object
  extended by com.vaadin.ui.AbstractComponent
      extended by com.vaadin.ui.AbstractComponentContainer
          extended by com.vaadin.ui.CustomComponent
              extended by eu.livotov.tpt.gui.dialogs.ui.OptionDialogButtonsComponent
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.terminal.Paintable, com.vaadin.terminal.Sizeable, com.vaadin.terminal.VariableOwner, com.vaadin.ui.Component, com.vaadin.ui.ComponentContainer, java.io.Serializable, java.util.EventListener

public class OptionDialogButtonsComponent
extends com.vaadin.ui.CustomComponent

Created by IntelliJ IDEA. User: dll Date: Feb 9, 2009 Time: 4:59:25 PM

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
 
Nested classes/interfaces inherited from interface com.vaadin.ui.ComponentContainer
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
 
Field Summary
protected  com.vaadin.ui.Button btnCancel
           
protected  com.vaadin.ui.Button btnNo
           
protected  com.vaadin.ui.Button btnOk
           
protected  com.vaadin.ui.Button btnYes
           
protected  com.vaadin.ui.CustomLayout layout
           
protected  com.vaadin.ui.Label message
           
 
Fields inherited from interface com.vaadin.terminal.Sizeable
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
OptionDialogButtonsComponent()
           
 
Method Summary
 void addClickListener(com.vaadin.ui.Button.ClickListener lst)
           
 void displayButtons(OptionKind... buttonIds)
           
 com.vaadin.ui.Button getOptionButton(OptionKind kind)
           
private  void hideAllButtons()
           
private  void initUI()
           
 void removeClickListener(com.vaadin.ui.Button.ClickListener lst)
           
 void setButtonTitle(OptionKind optionKind, java.lang.String buttonTitle)
           
private  void setButtonVisibility(OptionKind buttonId, boolean visible)
           
 void setCustomContent(com.vaadin.ui.Component content)
           
 void setMessage(java.lang.String message)
           
private  void updateTitles()
           
 
Methods inherited from class com.vaadin.ui.CustomComponent
addComponent, getComponentIterator, getComponentType, getCompositionRoot, moveComponentsFrom, paintContent, removeAllComponents, removeComponent, replaceComponent, setComponentType, setCompositionRoot
 
Methods inherited from class com.vaadin.ui.AbstractComponentContainer
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
 
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addListener, addListener, addListener, addListener, addStyleName, changeVariables, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getLocale, getParent, getStyle, getStyleName, getTag, getWidth, getWidthUnits, getWindow, handleError, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setIcon, setParent, setReadOnly, setStyleName, setVisible
 
Methods inherited from interface com.vaadin.terminal.Paintable
addListener, getDebugId, paint, removeListener, requestRepaint, requestRepaintRequests, setDebugId
 
Methods inherited from interface com.vaadin.terminal.VariableOwner
changeVariables, isImmediate
 
Methods inherited from interface com.vaadin.terminal.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUnits
 

Field Detail

layout

protected com.vaadin.ui.CustomLayout layout

message

protected com.vaadin.ui.Label message

btnOk

protected com.vaadin.ui.Button btnOk

btnCancel

protected com.vaadin.ui.Button btnCancel

btnYes

protected com.vaadin.ui.Button btnYes

btnNo

protected com.vaadin.ui.Button btnNo
Constructor Detail

OptionDialogButtonsComponent

public OptionDialogButtonsComponent()
Method Detail

displayButtons

public void displayButtons(OptionKind... buttonIds)

setMessage

public void setMessage(java.lang.String message)

hideAllButtons

private void hideAllButtons()

setButtonVisibility

private void setButtonVisibility(OptionKind buttonId,
                                 boolean visible)

initUI

private void initUI()

addClickListener

public void addClickListener(com.vaadin.ui.Button.ClickListener lst)

removeClickListener

public void removeClickListener(com.vaadin.ui.Button.ClickListener lst)

setButtonTitle

public void setButtonTitle(OptionKind optionKind,
                           java.lang.String buttonTitle)

getOptionButton

public com.vaadin.ui.Button getOptionButton(OptionKind kind)

updateTitles

private void updateTitles()

setCustomContent

public void setCustomContent(com.vaadin.ui.Component content)