Packages

c

it.cwmp.view

TwoAddressesInput

case class TwoAddressesInput(viewTitle: String, message: String)(onResultReady: (((String, String), (String, String))) ⇒ Unit, onDialogCanceled: (Unit) ⇒ Unit)(firstDefaultIP: String = localIP, firstDefaultPort: String = defaultPort, secondDefaultIP: String = localIP, secondDefaultPort: String = defaultPort) extends AbstractAddressInput[((String, String), (String, String))] with Product with Serializable

A class to request user to insert two addresses

viewTitle

the view title

message

the message to show the user

onResultReady

the action on result ready

onDialogCanceled

the action to do on dialog canceled

Linear Supertypes
Serializable, Serializable, Product, Equals, AbstractAddressInput[((String, String), (String, String))], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwoAddressesInput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AbstractAddressInput
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TwoAddressesInput(viewTitle: String, message: String)(onResultReady: (((String, String), (String, String))) ⇒ Unit, onDialogCanceled: (Unit) ⇒ Unit)(firstDefaultIP: String = localIP, firstDefaultPort: String = defaultPort, secondDefaultIP: String = localIP, secondDefaultPort: String = defaultPort)

    viewTitle

    the view title

    message

    the message to show the user

    onResultReady

    the action on result ready

    onDialogCanceled

    the action to do on dialog canceled

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var addressIpField: TextField
    Attributes
    protected
    Definition Classes
    AbstractAddressInput
  5. var addressPortField: TextField
    Attributes
    protected
    Definition Classes
    AbstractAddressInput
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bodyGridFill(gridPane: GridPane): Unit

    Fills the body grid of view

    Fills the body grid of view

    gridPane

    the grid to fill

    Attributes
    protected
    Definition Classes
    TwoAddressesInputAbstractAddressInput
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def createIpAndPortFields(): (TextField, TextField)

    returns

    a pair of IP address and port TextFields

    Attributes
    protected
    Definition Classes
    AbstractAddressInput
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getResult: ((String, String), (String, String))

    returns

    the result of user input

    Attributes
    protected
    Definition Classes
    TwoAddressesInputAbstractAddressInput
  14. def ipAddressValid(ipAddress: String): Boolean

    Validates IP Address

    Validates IP Address

    ipAddress

    the ip address to validate

    returns

    true if IP address is valid, false otherwise

    Attributes
    protected
    Definition Classes
    AbstractAddressInput
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val message: String
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def portValid(port: String): Boolean

    Validate port

    Validate port

    port

    the port to validate

    returns

    true if port is valid, false otherwise

    Attributes
    protected
    Definition Classes
    AbstractAddressInput
  21. var secondAddressIpField: TextField
    Attributes
    protected
  22. var secondAddressPortField: TextField
    Attributes
    protected
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def updateButtonState(): Unit

    Updates the state of the button in view

    Updates the state of the button in view

    Attributes
    protected
    Definition Classes
    AbstractAddressInput
  25. val viewTitle: String
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  29. def wholeInputValid: Boolean

    returns

    true if whole input is valid, false otherwise

    Attributes
    protected
    Definition Classes
    TwoAddressesInputAbstractAddressInput

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AbstractAddressInput[((String, String), (String, String))]

Inherited from AnyRef

Inherited from Any

Ungrouped