public final class Close extends DialogPrimitive
DialogPrimitive.Type
Constructor and Description |
---|
Close(boolean prearrangedEnd)
Create a new close dialog primitive.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get a descriptive name for this dialog primitive.
|
DialogPrimitive.Type |
getType()
Get the type of dialog primitive.
|
boolean |
isPrearrangedEnd()
Determine if the close represents a pre-arranged end.
|
String |
toString() |
public Close(boolean prearrangedEnd)
prearrangedEnd
- flag indicating if the close represents a basic end (false
)
or pre-arranged end (true
).public boolean isPrearrangedEnd()
true
if the close represents a pre-arranged end, false
if the close represents a basic end.public DialogPrimitive.Type getType()
DialogPrimitive
getType
in class DialogPrimitive
public String getName()
DialogPrimitive
getName
in class DialogPrimitive