net.yura.mobile.gui.components
Class FileChooser.GridList
java.lang.Object
net.yura.mobile.gui.components.Component
net.yura.mobile.gui.components.Panel
net.yura.mobile.gui.components.Table
net.yura.mobile.gui.components.FileChooser.GridList
- Enclosing class:
- FileChooser
public static class FileChooser.GridList
- extends Table
Takes care of Picture Selection screen flow.
- Author:
- Yura Mamyrin
Fields inherited from class net.yura.mobile.gui.components.Component |
background, empty, FOCUS_GAINED, FOCUS_LOST, focusable, foreground, height, parent, posX, posY, preferredHeight, preferredWidth, state, theme, width |
Methods inherited from class net.yura.mobile.gui.components.Table |
breakOutAction, doLayout, editCellAt, focusGained, getCellEditor, getCellRenderer, getCellX, getCellY, getColumnName, getColumnWidth, getIntercellSpacing, getRowHeight, getSelectedColumn, getSelectedRow, getToolTipLocationX, getToolTipLocationY, getToolTipText, paintComponent, prepareRenderer, processKeyEvent, processMouseEvent, removeEditor, setColumnWidth, setDefaultEditor, setDefaultRenderer, setIntercellSpacing, setSelectedCell, workoutHeight |
Methods inherited from class net.yura.mobile.gui.components.Panel |
addImpl, findMneonicButton, getComponentAt, getComponentCount, getComponents, getConstraints, getLayout, paint, paintChildren, remove, remove, removeAll, setLayout, toString, validate |
Methods inherited from class net.yura.mobile.gui.components.Component |
add, add, add, addFocusListener, animate, clip, consumesMotionEvents, focusLost, getBackground, getBorder, getCurrentState, getDesktopPane, getFocusListeners, getForeground, getHeight, getHeightWithBorder, getInsets, getName, getParent, getPreferredHeight, getPreferredWidth, getState, getValue, getWidth, getWidthWithBorder, getWindow, getX, getXOnScreen, getXWithBorder, getY, getYOnScreen, getYWithBorder, insert, insert, isComponentVisible, isFocusable, isFocusOwner, isOpaque, isRectVisible, isShowing, isVisible, makeVisible, paintBorder, processMultitouchEvent, removeFocusListener, removeParent, repaint, requestFocusInWindow, revalidate, scrollRectToVisible, scrollUpDown, setBackground, setBorder, setBounds, setBoundsWithBorder, setFocusable, setForeground, setLocation, setName, setPreferredSize, setState, setToolTipText, setupState, setValue, setVisible, transferFocus, updateUI, wait, workoutSize |
FileChooser.GridList
public FileChooser.GridList(int cellSize)
getColumnClass
public Class getColumnClass(int columnIndex)
- Overrides:
getColumnClass
in class Table
- Returns:
- the class of the column
- See Also:
TableModel.getColumnClass
getColumnCount
public int getColumnCount()
- Overrides:
getColumnCount
in class Table
- Returns:
- the number of columns
- See Also:
TableModel.getColumnCount
getDefaultName
public String getDefaultName()
- Overrides:
getDefaultName
in class Table
getElementAt
public Object getElementAt(int index)
- Parameters:
index
-
- Returns:
- the element
- See Also:
List.getElementAt
,
ListModel.getElementAt
getItems
public Vector getItems()
- See Also:
List.getItems()
getRowCount
public int getRowCount()
- Overrides:
getRowCount
in class Table
- Returns:
- the number of rows
- See Also:
TableModel.getRowCount
getSelectedIndex
public int getSelectedIndex()
- See Also:
List.getSelectedIndex()
getSelectedValue
public Object getSelectedValue()
- See Also:
List.getSelectedValue()
getSize
public int getSize()
- Returns:
- the size of the list
- See Also:
List.getSize
,
ListModel.getSize
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
- Overrides:
getValueAt
in class Table
- Returns:
- the value
- See Also:
TableModel.getValueAt
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Overrides:
isCellEditable
in class Table
- Returns:
- true if the cell is editable
- See Also:
TableModel.isCellEditable
setElementAt
public void setElementAt(Object object,
int index)
- Parameters:
index
- - See Also:
List.setElementAt
,
ListModel.setElementAt
setListData
public void setListData(Vector files)
- See Also:
List.setListData(java.util.Vector)
setRowHeight
public void setRowHeight(int h)
- Description copied from class:
Table
- Sets the height for row to rowHeight, revalidates, and repaints.
- Overrides:
setRowHeight
in class Table
- See Also:
JTable.setRowHeight
setSelectedIndex
public void setSelectedIndex(int a)
- See Also:
List.setSelectedIndex(int)
setSize
public void setSize(int w,
int h)
- Description copied from class:
Panel
- sets the new size and revaliates the window
- Overrides:
setSize
in class Panel
- Parameters:
w
- new Widthh
- new Height- See Also:
Component.setSize
setValueAt
public void setValueAt(Object aValue,
int rowIndex,
int columnIndex)
- Overrides:
setValueAt
in class Table
- See Also:
TableModel.setValueAt
workoutMinimumSize
public void workoutMinimumSize()
- Description copied from class:
Panel
- works out the current size of this panel
(SHOULD NOT BE CALLED OUTSIDE THE FRAMEWORK)
- Overrides:
workoutMinimumSize
in class Table
- See Also:
JComponent.getMinimumSize