Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.view.swing
Class SComboBoxModel.SelectionBoundModel  view SComboBoxModel.SelectionBoundModel download SComboBoxModel.SelectionBoundModel.java

java.lang.Object
  extended byorg.scopemvc.view.swing.SComboBoxModel.SelectionBoundModel
All Implemented Interfaces:
org.scopemvc.view.util.ModelBindable
Enclosing class:
SComboBoxModel

class SComboBoxModel.SelectionBoundModel
extends java.lang.Object
implements org.scopemvc.view.util.ModelBindable


Constructor Summary
(package private) SComboBoxModel.SelectionBoundModel()
           
 
Method Summary
 java.lang.Object getViewValue()
          Get the current value (what would be set as a property of the bound model object) being presented on the View.
 void updateFromProperty(java.lang.Object inValue, boolean inReadOnly)
          Use the passed property value and read-only state to update the View.
 void validationFailed(java.lang.Exception inException)
          Validation failed while getting a value from View into the bound model object.
 void validationSuccess()
          Clear previous validation failure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SComboBoxModel.SelectionBoundModel

SComboBoxModel.SelectionBoundModel()
Method Detail

updateFromProperty

public void updateFromProperty(java.lang.Object inValue,
                               boolean inReadOnly)
Description copied from interface: org.scopemvc.view.util.ModelBindable
Use the passed property value and read-only state to update the View.

Specified by:
updateFromProperty in interface org.scopemvc.view.util.ModelBindable

getViewValue

public java.lang.Object getViewValue()
Description copied from interface: org.scopemvc.view.util.ModelBindable
Get the current value (what would be set as a property of the bound model object) being presented on the View.

Specified by:
getViewValue in interface org.scopemvc.view.util.ModelBindable

validationFailed

public void validationFailed(java.lang.Exception inException)
Description copied from interface: org.scopemvc.view.util.ModelBindable
Validation failed while getting a value from View into the bound model object. Use this to indicate to the user that the value being edited is invalid.

Specified by:
validationFailed in interface org.scopemvc.view.util.ModelBindable

validationSuccess

public void validationSuccess()
Description copied from interface: org.scopemvc.view.util.ModelBindable
Clear previous validation failure.

Specified by:
validationSuccess in interface org.scopemvc.view.util.ModelBindable