info.magnolia.module.data.controls
Class DataButtonSet

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.DialogBox
          extended by info.magnolia.cms.gui.dialog.DialogButtonSet
              extended by info.magnolia.module.data.controls.DataButtonSet
All Implemented Interfaces:
info.magnolia.cms.gui.dialog.DialogControl, DataMultiValueControl
Direct Known Subclasses:
DataUUIDButtonSet

public class DataButtonSet
extends info.magnolia.cms.gui.dialog.DialogButtonSet
implements DataMultiValueControl

At this moment it does the same like DialogMultiSelect (single multiple values) , but it respects the structure (data model) for later multi object select (object multiple values).

Version:
$Revision$ ($Author$)
Author:
Christoph Hoffmann (BeagleSoft GmbH)

Field Summary
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogBox
BOXTYPE_1COL, BOXTYPE_2COLS
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
DEFAULT_VALUE_PROPERTY, SESSION_ATTRIBUTENAME_DIALOGOBJECT, SESSION_ATTRIBUTENAME_DIALOGOBJECT_REMOVE, VALIDATION_PATTERN_PROPERTY, value
 
Constructor Summary
DataButtonSet()
           
 
Method Summary
 void drawHtml(Writer out)
           
 List<Object> readValues()
          
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogButtonSet
drawHtmlPostSubs, drawHtmlPreSubs, getButtonType, getOptionNodes, init, setButtonType, setOption, setOptions
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogBox
drawHtmlPost, drawHtmlPre, getBoxType, getHtmlDescription, setBoxType
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
addOption, addSub, clearWebsiteNode, drawSubs, getConfigValue, getConfigValue, getDescription, getId, getLabel, getMessage, getMessage, getMessages, getName, getOptions, getParent, getRequest, getResponse, getStorageNode, getSub, getSubs, getTopParent, getValidationPattern, getValue, getValues, getWebsiteNode, isRequired, readValue, removeSessionAttribute, setConfig, setConfig, setConfig, setDescription, setLabel, setName, setOptions, setRequired, setSaveInfo, setSessionAttribute, setTopParent, setValidationMessage, setValue, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataButtonSet

public DataButtonSet()
Method Detail

readValues

public List<Object> readValues()

Overrides:
readValues in class info.magnolia.cms.gui.dialog.DialogControlImpl

drawHtml

public void drawHtml(Writer out)
              throws IOException
Specified by:
drawHtml in interface info.magnolia.cms.gui.dialog.DialogControl
Overrides:
drawHtml in class info.magnolia.cms.gui.dialog.DialogButtonSet
Throws:
IOException


Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.