Interface DesktopStation
public interface DesktopStation
Station where the
Desktop is executing.-
Property Summary
PropertiesTypePropertyDescriptionThe the name of the station.The serial of the station. -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeName(String newName, char[] password) Changes the name of the station if the password is correct.getName()Returns the name of the station.Returns the serial of the station.The the name of the station.The serial of the station.
-
Property Details
-
name
-
serial
-
-
Method Details
-
nameProperty
ReadOnlyStringProperty nameProperty()The the name of the station.- Returns:
- the name of the station.
- See Also:
-
getName
-
changeName
Changes the name of the station if the password is correct.- Parameters:
newName- the new name of the station.password- the password of the new name of the station.- Throws:
NullPointerException- if an argument isnull.IllegalArgumentException- if thepasswordis invalid.StationException- ifnewNameis assigned to another station.
-
serialProperty
ReadOnlyStringProperty serialProperty()The serial of the station.- Returns:
- serial of the station.
- See Also:
-
getSerial
-