Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Layout
org.gnu.gnome.Canvas
org.gnu.gnome.IconList
public class IconList
extends Canvas
org.gnu.gtk.IconView
Constructor Summary | |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
String |
|
int |
|
SelectionMode |
|
static Type |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public IconList(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Construct a new IconList from a handle to a native resource.
public IconList(int iconWidth, Adjustment adj, boolean isEditable, boolean isStaticText)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Construct a new IconList object.
public void append(String iconFilename, String text)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Append an icon to the end of the list.
- Parameters:
iconFilename
- The file name for the icon to insert.text
- The text to display below the icon.
public void clear()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Remove all icons from this list.
public void freeze()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Avoid excessive recomputes during insertion and deletion. You should call thaw once the activity is complete.
public String getIconFilename(int pos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Retrieve the filename for an icon in the list.
- Parameters:
pos
- The position of the icon to retrieve the filename.
public int getNumIcons()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Get the number of icons in this list
- Returns:
- The number of icons in this list.
public SelectionMode getSelectionMode()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Retrieve the selection mode for this icon list.
- Returns:
- The selection mode for this list.
public static Type getType()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.
public void insert(int pos, String iconFilename, String text)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Insert an icon into this list.
- Parameters:
pos
- The position for the insertion.iconFilename
- The file name for the icon to insert.text
- The text to display below the icon.
public void remove(int pos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Remove an icon from this list.
- Parameters:
pos
- The position of the icon to remove
public void selectAll()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Select all icons in the list.
public void selectIcon(int pos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Select an icon in the list.
- Parameters:
pos
- The position of the icon to select.
public void setColumnSpacing(int pixels)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the column spacing for the list.
- Parameters:
pixels
- The column spacing for the list.
public void setIconBorderWidth(int pixels)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the icon border for the list.
- Parameters:
pixels
- The amount of pixels that surround the icons in the list.
public void setIconWidth(int width)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the icon width for the list.
- Parameters:
width
- The width for icons in the list.
public void setRowSpacing(int pixels)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the row spacing for the list.
- Parameters:
pixels
- The row spacing for the list.
public void setSelectionMode(SelectionMode mode)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the selection mode for this icon list.
- Parameters:
mode
- The selection mode for this list.
public void setSeparators(String sep)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the text that serves as the separator for this list. TODO: I don't completely understand this method. Better javadocs are needed.
public void setTextSpacing(int pixels)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Set the text spacing for the list.
- Parameters:
pixels
- The text spacing for the list
public void thaw()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Thaw a previous frozen list.
public void unselectAll()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Unselect all icons in the list.
public void unselectIcon(int pos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Unselect an icon in the list.
- Parameters:
pos
- The position of the icon to unselect.