|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.win32.ui.dialogs.SelectIconDialog
public class SelectIconDialog
This class provides functionality that allows to display a dialog box that allows the user to choose an icon from the selection available embedded in a resource such as an executable or DLL file
Constructor Summary | |
---|---|
SelectIconDialog()
Creates instance of the SelectIconDialog |
|
SelectIconDialog(java.io.File iconFile)
Creates instance of the SelectIconDialog initialized by the file that contains icons |
|
SelectIconDialog(java.io.File iconFile,
int iconIndex)
Creates instance of the SelectIconDialog initialized by the file that contains icons |
|
SelectIconDialog(java.awt.Window owner)
Creates instance of the SelectIconDialog |
|
SelectIconDialog(java.awt.Window owner,
java.io.File iconFile)
Creates instance of the SelectIconDialog initialized by the file that contains icons |
|
SelectIconDialog(java.awt.Window owner,
java.io.File iconFile,
int iconIndex)
Creates instance of the SelectIconDialog initialized by the file that contains icons |
Method Summary | |
---|---|
boolean |
execute()
Displays dialog box |
java.io.File |
getIconFile()
Returns value that specifies file with icons that will be displayed in the dialog |
int |
getIconIndex()
Returns index of the selected icon |
java.awt.Window |
getOwner()
Returns the parent window for the dialog. |
ShellIcon |
getShellIcon()
Returns selected icon |
void |
setIconFile(java.io.File value)
Sets value that specifies file with icons that will be displayed in the dialog |
void |
setIconIndex(int value)
Sets index of the selected icon |
void |
setOwner(java.awt.Window value)
Sets the parent window for the dialog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectIconDialog()
SelectIconDialog
public SelectIconDialog(java.io.File iconFile)
SelectIconDialog
initialized by the file that contains icons
iconFile
- The file that contains iconspublic SelectIconDialog(java.io.File iconFile, int iconIndex)
SelectIconDialog
initialized by the file that contains icons
iconFile
- The file that contains iconsiconIndex
- Index of the icon in the file specified by the iconFile
parameter
that will be selected by defaultpublic SelectIconDialog(java.awt.Window owner)
SelectIconDialog
owner
- Parent window for the dialogpublic SelectIconDialog(java.awt.Window owner, java.io.File iconFile)
SelectIconDialog
initialized by the file that contains icons
owner
- Parent window for the dialogiconFile
- The file that contains iconspublic SelectIconDialog(java.awt.Window owner, java.io.File iconFile, int iconIndex)
SelectIconDialog
initialized by the file that contains icons
owner
- Parent window for the dialogiconFile
- The file that contains iconsiconIndex
- Index of the icon in the file specified by the iconFile
parameter
that will be selected by defaultMethod Detail |
---|
public void setIconFile(java.io.File value)
value
- Value that specifies file with icons that will be displayed in the dialogpublic java.io.File getIconFile()
public void setIconIndex(int value)
value
- Index of the selected iconpublic int getIconIndex()
public ShellIcon getShellIcon()
public void setOwner(java.awt.Window value)
value
- The parent window for the dialogpublic java.awt.Window getOwner()
public boolean execute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |