org.springframework.richclient.application.support
Class SingleViewPageDescriptor

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.core.LabeledObjectSupport
          extended by org.springframework.richclient.application.support.AbstractPageDescriptor
              extended by org.springframework.richclient.application.support.SingleViewPageDescriptor
All Implemented Interfaces:
BeanNameAware, InitializingBean, PageDescriptor, CommandLabelConfigurable, DescribedElement, DescriptionConfigurable, TitleConfigurable, VisualizedElement, ImageConfigurable

public class SingleViewPageDescriptor
extends AbstractPageDescriptor


Field Summary
 
Fields inherited from class org.springframework.richclient.core.LabeledObjectSupport
logger
 
Fields inherited from interface org.springframework.richclient.core.DescribedElement
CAPTION_PROPERTY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY
 
Constructor Summary
SingleViewPageDescriptor(ViewDescriptor viewDescriptor)
           
 
Method Summary
 void buildInitialLayout(PageLayoutBuilder layout)
           
 String getCaption()
          Returns the caption for this object.
 String getDescription()
          Returns a description of this object.
 String getDisplayName()
          Returns the display name of this object.
 Icon getIcon()
          Returns the icon associated with the application component, or null.
 String getId()
           
 Image getImage()
          Returns the image associated with the application component, or null.
 
Methods inherited from class org.springframework.richclient.application.support.AbstractPageDescriptor
afterPropertiesSet, createShowPageCommand, getShowPageCommandLabel, setBeanName, setId
 
Methods inherited from class org.springframework.richclient.core.LabeledObjectSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getAccelerator, getLabel, getMnemonic, getMnemonicIndex, hasChanged, hasChanged, hasChanged, removePropertyChangeListener, removePropertyChangeListener, setCaption, setDescription, setImage, setLabelInfo, setTitle, toString
 
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleViewPageDescriptor

public SingleViewPageDescriptor(ViewDescriptor viewDescriptor)
Method Detail

getId

public String getId()
Specified by:
getId in interface PageDescriptor
Overrides:
getId in class AbstractPageDescriptor

getDisplayName

public String getDisplayName()
Description copied from interface: DescribedElement
Returns the display name of this object.

Specified by:
getDisplayName in interface DescribedElement
Overrides:
getDisplayName in class LabeledObjectSupport
Returns:
The display name, or null.

getCaption

public String getCaption()
Description copied from interface: DescribedElement
Returns the caption for this object.

Specified by:
getCaption in interface DescribedElement
Overrides:
getCaption in class LabeledObjectSupport
Returns:
The caption, or null.

getDescription

public String getDescription()
Description copied from interface: DescribedElement
Returns a description of this object.

Specified by:
getDescription in interface DescribedElement
Overrides:
getDescription in class LabeledObjectSupport
Returns:
The description, or null.

getIcon

public Icon getIcon()
Description copied from interface: VisualizedElement
Returns the icon associated with the application component, or null.

Specified by:
getIcon in interface VisualizedElement
Overrides:
getIcon in class LabeledObjectSupport

getImage

public Image getImage()
Description copied from interface: VisualizedElement
Returns the image associated with the application component, or null.

Specified by:
getImage in interface VisualizedElement
Overrides:
getImage in class LabeledObjectSupport

buildInitialLayout

public void buildInitialLayout(PageLayoutBuilder layout)


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.