implicit class RichCharacterCount extends ImplicitsSupport[CharacterCount]
- Alphabetic
- By Inheritance
- RichCharacterCount
- ImplicitsSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RichCharacterCount(characterCount: CharacterCount)(implicit messages: Messages)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
val
messages: Messages
- Definition Classes
- RichCharacterCount → ImplicitsSupport
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withFormField(field: Field): CharacterCount
Extension method to allow a Play form Field to be used to add certain parameters in an CharacterCount, specifically errorMessage, id, name, and value.
Extension method to allow a Play form Field to be used to add certain parameters in an CharacterCount, specifically errorMessage, id, name, and value. Note these values will only be added from the Field if they are not specifically defined in the CharacterCount object. Form errors will be bound as Text objects.
- Definition Classes
- RichCharacterCount → ImplicitsSupport
-
def
withFormFieldWithErrorAsHtml(field: Field): CharacterCount
Extension method to allow a Play form Field to be used to add certain parameters in an CharacterCount, as per withFormField, with form errors bound as HtmlContent objects.
Extension method to allow a Play form Field to be used to add certain parameters in an CharacterCount, as per withFormField, with form errors bound as HtmlContent objects.
- Definition Classes
- RichCharacterCount → ImplicitsSupport
- def withHeading(heading: Content): CharacterCount
- def withHeadingAndSectionCaption(heading: Content, sectionCaption: Content): CharacterCount
-
def
withHeadingLabel[A](original: A, headingContent: Content, captionContent: Option[Content])(update: (A, Label) ⇒ A): A
- Attributes
- protected
- Definition Classes
- ImplicitsSupport
-
def
withHeadingLegend[A](original: A, headingContent: Content, captionContent: Option[Content])(update: (A, Legend) ⇒ A): A
- Attributes
- protected
- Definition Classes
- ImplicitsSupport
-
def
withOptHtmlErrorMessageProperty(formError: Option[FormError], currentProp: Option[ErrorMessage], currentFormInput: CharacterCount)(update: (CharacterCount, Option[ErrorMessage]) ⇒ CharacterCount): CharacterCount
- Attributes
- protected[views]
- Definition Classes
- ImplicitsSupport
-
def
withOptStringProperty(propFromField: Option[String], currentProp: Option[String], currentFormInput: CharacterCount)(update: (CharacterCount, Option[String]) ⇒ CharacterCount): CharacterCount
- Attributes
- protected[views]
- Definition Classes
- ImplicitsSupport
-
def
withOptTextErrorMessageProperty(formError: Option[FormError], currentProp: Option[ErrorMessage], currentFormInput: CharacterCount)(update: (CharacterCount, Option[ErrorMessage]) ⇒ CharacterCount): CharacterCount
- Attributes
- protected[views]
- Definition Classes
- ImplicitsSupport
-
def
withStringProperty(propFromField: String, currentProp: String, currentFormInput: CharacterCount)(update: (CharacterCount, String) ⇒ CharacterCount): CharacterCount
- Attributes
- protected[views]
- Definition Classes
- ImplicitsSupport