|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.IconView
Field Summary |
Fields inherited from class org.gnu.glib.GObject |
eventsInitialized |
Constructor Summary | |
IconView()
Create a new IconView |
|
IconView(TreeModel model)
Create a new IconView specifying the model. |
Method Summary | |
void |
addListener(IconViewListener listener)
Register an object to handle IconView events. |
protected void |
fireIconViewEvent(IconViewEvent event)
|
int |
getColumns()
Returns the number of columns for this IconView. |
int |
getColumnSpacing()
|
java.lang.Class |
getEventListenerClass(java.lang.String signal)
|
EventType |
getEventType(java.lang.String signal)
|
int |
getItemWidth()
Returns the width of each item. |
int |
getMargin()
|
int |
getMarkupColumn()
Returns the column with markup text for this IconView. |
TreeModel |
getModel()
Returns the model that the IconView is using. |
Orientation |
getOrientation()
Returns the Orientation for this IconView. |
TreePath |
getPathAtPosition(int x,
int y)
Find the path at the point (x,y) relative to widget coordinates. |
int |
getPixbufColumn()
Returns the column with Pixbufs for this IconView. |
int |
getRowSpacing()
|
TreePath[] |
getSelectedItems()
Returns an array of all selected paths. |
SelectionMode |
getSelectionMode()
Returns the selection mode for this IconView. |
int |
getSpacing()
|
int |
getTextColumn()
Returns the column with text fro this IconView. |
protected static int |
gtk_icon_view_get_column_spacing(Handle view)
|
protected static int |
gtk_icon_view_get_columns(Handle view)
|
protected static int |
gtk_icon_view_get_item_width(Handle view)
|
protected static int |
gtk_icon_view_get_margin(Handle view)
|
protected static int |
gtk_icon_view_get_markup_column(Handle view)
|
protected static Handle |
gtk_icon_view_get_model(Handle view)
|
protected static int |
gtk_icon_view_get_orientation(Handle view)
|
protected static Handle |
gtk_icon_view_get_path_at_pos(Handle view,
int x,
int y)
|
protected static int |
gtk_icon_view_get_pixbuf_column(Handle view)
|
protected static int |
gtk_icon_view_get_row_spacing(Handle view)
|
protected static Handle[] |
gtk_icon_view_get_selected_items(Handle view)
|
protected static int |
gtk_icon_view_get_selection_mode(Handle view)
|
protected static int |
gtk_icon_view_get_spacing(Handle view)
|
protected static int |
gtk_icon_view_get_text_column(Handle view)
|
protected static int |
gtk_icon_view_get_type()
|
protected static void |
gtk_icon_view_item_activated(Handle view,
Handle path)
|
protected static Handle |
gtk_icon_view_new_with_model(Handle model)
|
protected static Handle |
gtk_icon_view_new()
|
protected static boolean |
gtk_icon_view_path_is_selected(Handle view,
Handle path)
|
protected static void |
gtk_icon_view_select_all(Handle view)
|
protected static void |
gtk_icon_view_select_path(Handle view,
Handle path)
|
protected static void |
gtk_icon_view_set_column_spacing(Handle view,
int spacing)
|
protected static void |
gtk_icon_view_set_columns(Handle view,
int columns)
|
protected static void |
gtk_icon_view_set_item_width(Handle view,
int width)
|
protected static void |
gtk_icon_view_set_margin(Handle view,
int margin)
|
protected static void |
gtk_icon_view_set_markup_column(Handle view,
int column)
|
protected static void |
gtk_icon_view_set_model(Handle view,
Handle model)
|
protected static void |
gtk_icon_view_set_orientation(Handle view,
int orientation)
|
protected static void |
gtk_icon_view_set_pixbuf_column(Handle view,
int column)
|
protected static void |
gtk_icon_view_set_row_spacing(Handle view,
int spacing)
|
protected static void |
gtk_icon_view_set_selection_mode(Handle view,
int mode)
|
protected static void |
gtk_icon_view_set_spacing(Handle view,
int spacing)
|
protected static void |
gtk_icon_view_set_text_column(Handle view,
int column)
|
protected static void |
gtk_icon_view_unselect_all(Handle view)
|
protected static void |
gtk_icon_view_unselect_path(Handle view,
Handle path)
|
void |
itemActivated(TreePath path)
Activate the item specified by path. |
boolean |
pathIsSelected(TreePath path)
returns true if the path is currently selected. |
void |
removeListener(IconViewListener listener)
Removes a listener. |
void |
selectAll()
Selects all of the icons. |
void |
selectPath(TreePath path)
Selects the row at the specified path. |
void |
setColumns(int columns)
Set the number of columns for this IconView. |
void |
setColumnSpacing(int columnSpacing)
|
void |
setItemWidth(int width)
Sets the width of each item. |
void |
setMargin(int margin)
|
void |
setMarkupColumn(int column)
Sets the column with markup information for this IconView to be the specified column. |
void |
setModel(TreeModel model)
Sets the model for this IconView. |
void |
setOrientation(Orientation orientation)
Sets the orientation of this IconView which determines whether the labels are drawn beside instead of below the icons. |
void |
setPixbufColumn(int column)
Sets the column with Pixbufs for this IconView to be the specified column. |
void |
setRowSpacing(int rowSpacing)
|
void |
setSelectionMode(SelectionMode mode)
Sets the selection mode for this IconView. |
void |
setSpacing(int spacing)
|
void |
setTextColumn(int column)
Sets the column with text for this IconView to be the specified column. |
void |
unselectAll()
Unselects all of the icons. |
void |
unselectPath(TreePath path)
Unselects the row at the specified path. |
Methods inherited from class org.gnu.gtk.GtkObject |
getFlags, gtk_object_destroy, gtk_object_get_type, gtk_object_sink, setFlags, sink |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IconView()
public IconView(TreeModel model)
model
- Method Detail |
public void setModel(TreeModel model)
model
- public TreeModel getModel()
public void setTextColumn(int column)
column
- public int getTextColumn()
public void setMarkupColumn(int column)
setTextColumn
column
- public int getMarkupColumn()
public void setPixbufColumn(int column)
column
- public int getPixbufColumn()
public void setOrientation(Orientation orientation)
orientation
- public Orientation getOrientation()
public void setColumns(int columns)
columns
- public int getColumns()
public void setItemWidth(int width)
width
- public int getItemWidth()
public void setSpacing(int spacing)
spacing
- public int getSpacing()
public void setRowSpacing(int rowSpacing)
rowSpacing
- public int getRowSpacing()
public void setColumnSpacing(int columnSpacing)
columnSpacing
- public int getColumnSpacing()
public void setMargin(int margin)
margin
- public int getMargin()
public TreePath getPathAtPosition(int x, int y)
x
- y
- public void setSelectionMode(SelectionMode mode)
mode
- public SelectionMode getSelectionMode()
public void selectPath(TreePath path)
path
- public void unselectPath(TreePath path)
path
- public boolean pathIsSelected(TreePath path)
path
- public TreePath[] getSelectedItems()
public void selectAll()
public void unselectAll()
public void itemActivated(TreePath path)
path
- public void addListener(IconViewListener listener)
IconViewListener
public void removeListener(IconViewListener listener)
addListener(IconViewListener)
protected void fireIconViewEvent(IconViewEvent event)
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class Container
public EventType getEventType(java.lang.String signal)
getEventType
in class Container
protected static final int gtk_icon_view_get_type()
protected static final Handle gtk_icon_view_new()
protected static final Handle gtk_icon_view_new_with_model(Handle model)
protected static final void gtk_icon_view_set_model(Handle view, Handle model)
protected static final Handle gtk_icon_view_get_model(Handle view)
protected static final void gtk_icon_view_set_text_column(Handle view, int column)
protected static final int gtk_icon_view_get_text_column(Handle view)
protected static final void gtk_icon_view_set_markup_column(Handle view, int column)
protected static final int gtk_icon_view_get_markup_column(Handle view)
protected static final void gtk_icon_view_set_pixbuf_column(Handle view, int column)
protected static final int gtk_icon_view_get_pixbuf_column(Handle view)
protected static final void gtk_icon_view_set_orientation(Handle view, int orientation)
protected static final int gtk_icon_view_get_orientation(Handle view)
protected static final void gtk_icon_view_set_columns(Handle view, int columns)
protected static final int gtk_icon_view_get_columns(Handle view)
protected static final void gtk_icon_view_set_item_width(Handle view, int width)
protected static final int gtk_icon_view_get_item_width(Handle view)
protected static final void gtk_icon_view_set_spacing(Handle view, int spacing)
protected static final int gtk_icon_view_get_spacing(Handle view)
protected static final void gtk_icon_view_set_row_spacing(Handle view, int spacing)
protected static final int gtk_icon_view_get_row_spacing(Handle view)
protected static final void gtk_icon_view_set_column_spacing(Handle view, int spacing)
protected static final int gtk_icon_view_get_column_spacing(Handle view)
protected static final void gtk_icon_view_set_margin(Handle view, int margin)
protected static final int gtk_icon_view_get_margin(Handle view)
protected static final Handle gtk_icon_view_get_path_at_pos(Handle view, int x, int y)
protected static final void gtk_icon_view_set_selection_mode(Handle view, int mode)
protected static final int gtk_icon_view_get_selection_mode(Handle view)
protected static final void gtk_icon_view_select_path(Handle view, Handle path)
protected static final void gtk_icon_view_unselect_path(Handle view, Handle path)
protected static final boolean gtk_icon_view_path_is_selected(Handle view, Handle path)
protected static final Handle[] gtk_icon_view_get_selected_items(Handle view)
protected static final void gtk_icon_view_select_all(Handle view)
protected static final void gtk_icon_view_unselect_all(Handle view)
protected static final void gtk_icon_view_item_activated(Handle view, Handle path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |