| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Dimension | |
| protected Font | |
| private FontMetrics | |
| private Graphics | |
| private int | |
| private int | |
| private int[] | |
| private int | |
| private int | |
| private int | |
| private int | |
| private Image | |
| protected int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private Scrollbar | |
| private Scrollbar | |
| protected String[] | |
| protected ArrayList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv void | |
| private void | |
| private String | |
| pack-priv ArrayList | |
| private String | |
| pack-priv String[] | |
| private static int | |
| public Dimension | getMinimumSize()
Overrides java. Returns the minimum size of this container. |
| public Dimension | getPreferredSize()
Overrides java. Returns the preferred size of this container. |
| public boolean | handleEvent(Event e)
Overrides java.
References Deprecated
Event is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public Dimension | |
| public boolean | mouseDrag(Event e, int x, int y)
Overrides java.
References Deprecated
Event is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public boolean | mouseExit(Event e, int x, int y)
Overrides java.
References Deprecated
Event is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public boolean | mouseMove(Event e, int x, int y)
Overrides java.
References Deprecated
Event is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public void | |
| public Dimension | |
| public void | setBounds(int x, int y, int w, int h)
Overrides java. Moves and resizes this component. |
| public void | |
| public void | setMinimumSize(Dimension d)
Overrides java. Sets the minimum size of this component to a constant value. |
| public void | |
| public void |
| bDrag | back to summary |
|---|---|
| private boolean bDrag | |
| dMinimum | back to summary |
|---|---|
| private Dimension dMinimum | |
| fFont | back to summary |
|---|---|
| protected Font fFont | |
| fMetrics | back to summary |
|---|---|
| private FontMetrics fMetrics | |
| gImage | back to summary |
|---|---|
| private Graphics gImage | |
| iColCount | back to summary |
|---|---|
| private int iColCount | |
| iColDrag | back to summary |
|---|---|
| private int iColDrag | |
| iColWidth | back to summary |
|---|---|
| private int[] iColWidth | |
| iFirstRow | back to summary |
|---|---|
| private int iFirstRow | |
| iGridHeight | back to summary |
|---|---|
| private int iGridHeight | |
| iGridWidth | back to summary |
|---|---|
| private int iGridWidth | |
| iHeight | back to summary |
|---|---|
| private int iHeight | |
| iImage | back to summary |
|---|---|
| private Image iImage | |
| iRowCount | back to summary |
|---|---|
| protected int iRowCount | |
| iRowHeight | back to summary |
|---|---|
| private int iRowHeight | |
| iSbHeight | back to summary |
|---|---|
| private int iSbHeight | |
| iSbWidth | back to summary |
|---|---|
| private int iSbWidth | |
| iWidth | back to summary |
|---|---|
| private int iWidth | |
| iX | back to summary |
|---|---|
| private int iX | |
| iXDrag | back to summary |
|---|---|
| private int iXDrag | |
| iY | back to summary |
|---|---|
| private int iY | |
| sbHoriz | back to summary |
|---|---|
| private Scrollbar sbHoriz | |
| sbVert | back to summary |
|---|---|
| private Scrollbar sbVert | |
| sColHead | back to summary |
|---|---|
| protected String[] sColHead | |
| vData | back to summary |
|---|---|
| protected ArrayList<String[]> vData | |
| Grid | back to summary |
|---|---|
| public Grid() Constructor declaration | |
| addRow | back to summary |
|---|---|
| public void addRow(String[] data) | |
| adjustScroll | back to summary |
|---|---|
| pack-priv void adjustScroll() | |
| calcAutoWidth | back to summary |
|---|---|
| private void calcAutoWidth(int i) | |
| get | back to summary |
|---|---|
| private String get(int x, int y) | |
| getData | back to summary |
|---|---|
| pack-priv ArrayList | |
| getDisplay | back to summary |
|---|---|
| private String getDisplay(int x, int y) | |
| getHead | back to summary |
|---|---|
| pack-priv String[] getHead() | |
| getMaxHeight | back to summary |
|---|---|
| private static int getMaxHeight(FontMetrics f) | |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize() Overrides java. Doc from java. Returns the minimum size of this container. If the minimum size has
not been set explicitly by Note some implementations may cache the value returned from the
| |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize() Overrides java. Doc from java. Returns the preferred size of this container. If the preferred size has
not been set explicitly by Note some implementations may cache the value returned from the
| |
| handleEvent | back to summary |
|---|---|
| public boolean handleEvent(Event e) Overrides java. References Deprecated
See corresponding docs for further information. | |
| minimumSize | back to summary |
|---|---|
| public Dimension minimumSize() Overrides java. Doc from java. Returns the minimum size of this component. | |
| mouseDrag | back to summary |
|---|---|
| public boolean mouseDrag(Event e, int x, int y) Overrides java. References Deprecated
See corresponding docs for further information. | |
| mouseExit | back to summary |
|---|---|
| public boolean mouseExit(Event e, int x, int y) Overrides java. References Deprecated
See corresponding docs for further information. | |
| mouseMove | back to summary |
|---|---|
| public boolean mouseMove(Event e, int x, int y) Overrides java. References Deprecated
See corresponding docs for further information. | |
| paint | back to summary |
|---|---|
| public void paint(Graphics g) Overrides java. Doc from java. Paints the container. This forwards the paint to any lightweight components that are children of this container. If this method is reimplemented, super.paint(g) should be called so that lightweight components are properly rendered. If a child component is entirely clipped by the current clipping setting in g, paint() will not be forwarded to that child. | |
| preferredSize | back to summary |
|---|---|
| public Dimension preferredSize() Overrides java. Doc from java. Returns the component's preferred size. | |
| setBounds | back to summary |
|---|---|
| public void setBounds(int x, int y, int w, int h) Overrides java. Doc from java. Moves and resizes this component. The new location of the top-left
corner is specified by This method changes layout-related information, and therefore, invalidates the component hierarchy. | |
| setHead | back to summary |
|---|---|
| public void setHead(String[] head) | |
| setMinimumSize | back to summary |
|---|---|
| public void setMinimumSize(Dimension d) Overrides java. Doc from java. Sets the minimum size of this component to a constant
value. Subsequent calls to | |
| update | back to summary |
|---|---|
| public void update() | |
| update | back to summary |
|---|---|
| public void update(Graphics g) Overrides java. Doc from java. Updates the container. This forwards the update to any lightweight components that are children of this container. If this method is reimplemented, super.update(g) should be called so that lightweight components are properly rendered. If a child component is entirely clipped by the current clipping setting in g, update() will not be forwarded to that child. | |