Servoy 5.x Public API

com.servoy.j2db.server.headlessclient.dataui
Class StyleAttributeModifierModel

java.lang.Object
  extended by org.apache.wicket.model.Model
      extended by com.servoy.j2db.server.headlessclient.dataui.StyleAttributeModifierModel
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IComponentAssignedModel, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel

public class StyleAttributeModifierModel
extends org.apache.wicket.model.Model
implements org.apache.wicket.model.IComponentAssignedModel

This model/AttributeModifier can be attached to a IComponent (Wicket component) so that it will track its style changes through the IProviderStylePropertyChanges if the Wicket component does implement that one.

Since:
5.0
See Also:
Serialized Form

Field Summary
static org.apache.wicket.AttributeModifier INSTANCE
          The attribute modifier instance to add to the behavior list of your Wicket component that implements IProviderStylePropertyChanges
 
Method Summary
 org.apache.wicket.model.IWrapModel wrapOnAssignment(org.apache.wicket.Component component)
           
 
Methods inherited from class org.apache.wicket.model.Model
detach, equals, getObject, getObject, hashCode, of, of, of, of, of, of, ofList, ofMap, ofSet, setObject, setObject, toString, valueOf, valueOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.wicket.model.IModel
getObject, setObject
 
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
 

Field Detail

INSTANCE

public static org.apache.wicket.AttributeModifier INSTANCE
The attribute modifier instance to add to the behavior list of your Wicket component that implements IProviderStylePropertyChanges

Method Detail

wrapOnAssignment

public org.apache.wicket.model.IWrapModel wrapOnAssignment(org.apache.wicket.Component component)
Specified by:
wrapOnAssignment in interface org.apache.wicket.model.IComponentAssignedModel
See Also:
wicket.model.IAssignmentAwareModel#wrapOnAssignment(wicket.Component)

Copyright © 2010 Servoy B.V.