KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > security > auth > callback > ChoiceCallback

javax.security.auth.callback
Class ChoiceCallback

java.lang.Object
  extended by javax.security.auth.callback.ChoiceCallback
All Implemented Interfaces:
Serializable, Callback
Direct Known Subclasses:
RealmChoiceCallback
See Also:
Source Code, CallbackHandler

public boolean allowMultipleSelections()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ChoiceCallback(String prompt,
                      String[] choices,
                      int defaultChoice,
                      boolean multipleSelectionsAllowed)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String[] getChoices()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDefaultChoice()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getPrompt()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getSelectedIndexes()
See Also:
setSelectedIndexes(int[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectedIndex(int selection)
See Also:
getSelectedIndexes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectedIndexes(int[] selections)
See Also:
getSelectedIndexes(), UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags