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
Ordering
- Alphabetic
- By Inheritance
Inherited
- TwoAddressesInput
- Serializable
- Serializable
- Product
- Equals
- AbstractAddressInput
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
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
-
var
addressIpField: TextField
- Attributes
- protected
- Definition Classes
- AbstractAddressInput
-
var
addressPortField: TextField
- Attributes
- protected
- Definition Classes
- AbstractAddressInput
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- TwoAddressesInput → AbstractAddressInput
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createIpAndPortFields(): (TextField, TextField)
- returns
a pair of IP address and port TextFields
- Attributes
- protected
- Definition Classes
- AbstractAddressInput
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getResult: ((String, String), (String, String))
- returns
the result of user input
- Attributes
- protected
- Definition Classes
- TwoAddressesInput → AbstractAddressInput
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val message: String
-
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()
-
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
-
var
secondAddressIpField: TextField
- Attributes
- protected
-
var
secondAddressPortField: TextField
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
updateButtonState(): Unit
Updates the state of the button in view
Updates the state of the button in view
- Attributes
- protected
- Definition Classes
- AbstractAddressInput
- val viewTitle: String
-
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
- @native() @throws( ... )
-
def
wholeInputValid: Boolean
- returns
true if whole input is valid, false otherwise
- Attributes
- protected
- Definition Classes
- TwoAddressesInput → AbstractAddressInput