|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.ui.main.table.FileTableConfiguration
public class FileTableConfiguration
Describes a file table's initial configuration.
| Constructor Summary | |
|---|---|
FileTableConfiguration()
Creates a new file table configuration. |
|
| Method Summary | |
|---|---|
int |
getPosition(int column)
Returns the desired initial position of the specified column. |
int |
getWidth(int column)
Returns the initial width of the specified column. |
boolean |
isEnabled(int column)
Returns true if the specified column is enabled. |
void |
setEnabled(int column,
boolean flag)
Sets the enabled state of the specified column. |
void |
setPosition(int column,
int position)
Sets the specified column's initial position. |
void |
setWidth(int column,
int value)
Sets the specified column's width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileTableConfiguration()
| Method Detail |
|---|
public boolean isEnabled(int column)
true if the specified column is enabled.
column - column whose enabled state should be returned.
true if the specified column is enabled, false otherwise.
public void setEnabled(int column,
boolean flag)
Note that the Columns.NAME column's enabled state is ignored as it will always be enabled.
column - column whose enabled state should be set.flag - whether the column should be enabled.public int getWidth(int column)
column - column whose width should be retrieved.
public void setWidth(int column,
int value)
Note that the Columns.NAME column's width will be ignored, as it depends on the frame's
initial dimensions.
column - column whose width should be set.value - column's initial width.public int getPosition(int column)
Note that the returned value isn't necessarily a legal column position. It's used as a comparison value rather than an index.
column - column whose initial position will be returned.
public void setPosition(int column,
int position)
column - identifier of the column whose position will be set.position - desired position for the specified column.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard