public class Player extends Object implements Comparable<Player>
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<Boolean> |
active
Obtain the active property.
|
javafx.beans.property.ObjectProperty<String> |
contact
Obtain the contact property.
|
javafx.beans.property.IntegerProperty |
id
Obtain the id property.
|
javafx.beans.property.ObjectProperty<String> |
name
Obtain the name property.
|
javafx.beans.property.ObjectProperty<Boolean> |
selected
Obtain the selected property.
|
javafx.beans.property.ObjectProperty<PoolStatus> |
status
Obtain the status property.
|
Modifier and Type | Class and Description |
---|---|
static class |
Player.PlayerComparator
Comparator class.
|
static class |
Player.PlayerField
Player fields.
|
Modifier and Type | Field and Description |
---|---|
static String |
PLAYER_BYE
Bye indication.
|
Constructor and Description |
---|
Player()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<Boolean> |
activeProperty()
Obtain the active property.
|
int |
compareTo(Player pThat) |
javafx.beans.property.ObjectProperty<String> |
contactProperty()
Obtain the contact property.
|
boolean |
equals(Object pThat) |
String |
getContact()
Obtain the contact.
|
String |
getName()
Obtain the name.
|
PoolStatus |
getStatus()
Obtain the status.
|
int |
hashCode() |
javafx.beans.property.IntegerProperty |
idProperty()
Obtain the id property.
|
Boolean |
isActive()
Is the player active?
|
Boolean |
isSelected()
Is the player selected?
|
javafx.beans.property.ObjectProperty<String> |
nameProperty()
Obtain the name property.
|
javafx.beans.property.ObjectProperty<Boolean> |
selectedProperty()
Obtain the selected property.
|
void |
setName(String pName)
Set the name.
|
javafx.beans.property.ObjectProperty<PoolStatus> |
statusProperty()
Obtain the status property.
|
String |
toString() |
public javafx.beans.property.IntegerProperty idProperty
public javafx.beans.property.ObjectProperty<String> nameProperty
getName()
,
setName(String)
public javafx.beans.property.ObjectProperty<String> contactProperty
getContact()
public javafx.beans.property.ObjectProperty<Boolean> selectedProperty
public javafx.beans.property.ObjectProperty<Boolean> activeProperty
public javafx.beans.property.ObjectProperty<PoolStatus> statusProperty
getStatus()
public static final String PLAYER_BYE
public javafx.beans.property.IntegerProperty idProperty()
public javafx.beans.property.ObjectProperty<String> nameProperty()
getName()
,
setName(String)
public javafx.beans.property.ObjectProperty<String> contactProperty()
getContact()
public javafx.beans.property.ObjectProperty<Boolean> selectedProperty()
public javafx.beans.property.ObjectProperty<Boolean> activeProperty()
public javafx.beans.property.ObjectProperty<PoolStatus> statusProperty()
getStatus()
public String getName()
public String getContact()
public Boolean isSelected()
public Boolean isActive()
public PoolStatus getStatus()
public void setName(String pName)
pName
- the name.public int compareTo(Player pThat)
compareTo
in interface Comparable<Player>
Copyright © 2015. All rights reserved.