abstract class AbstractAddressInput[Result] extends AnyRef
A view to select an IP address and port
- Result
the type of result
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractAddressInput
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
AbstractAddressInput(viewTitle: String, message: String, onResultReady: (Result) ⇒ Unit, onDialogCanceled: (Unit) ⇒ Unit)(defaultIP: String = localIP, defaultPort: 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
- defaultIP
the default IP for IP field
- defaultPort
default port for Port field
Abstract Value Members
-
abstract
def
getResult: Result
- returns
the result of user input
- Attributes
- protected
Concrete 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
-
var
addressPortField: TextField
- Attributes
- protected
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateButtonState(): Unit
Updates the state of the button in view
Updates the state of the button in view
- Attributes
- protected
-
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