A
- the type of the activitiespublic final class Placement<A extends Activity> extends Object
Cluster
with a total
of 5 columns.Constructor and Description |
---|
Placement(A activity,
int columnIndex,
int columnCount)
Constructs a new placement.
|
Modifier and Type | Method and Description |
---|---|
A |
getActivity()
Returns the activity.
|
int |
getColumnCount()
Returns the total number of columns used for the cluster where the
activity is being shown.
|
int |
getColumnIndex()
Returns the index of the column where the activity will be shown within
its cluster.
|
String |
toString() |
public Placement(A activity, int columnIndex, int columnCount)
activity
- the activity to be placedcolumnIndex
- the column where the activity will be showncolumnCount
- the total number of columns in the clusterpublic A getActivity()
public int getColumnIndex()
public int getColumnCount()
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.