| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private final List | |
| private final HexModel | |
| private static final byte | |
| private static final byte | |
| private int | |
| private int | |
| private final List | |
| private byte |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private void | |
| private void | |
| private byte | |
| private char[] | |
| private int | Returns: index.Point instance. point)Returns the index for a given point If there is any byte in there. |
| private Point | Returns: Point instance.int. index)Returns the starting point in the view for any index. |
| private AttributedString | |
| public void | |
| private static boolean | |
| public void | keyPressed(KeyEvent
the event to be processed keyEvent)Implements java. Invoked when a key has been pressed. |
| public void | keyReleased(KeyEvent
the event to be processed keyEvent)Implements java. Invoked when a key has been released. |
| public void | keyTyped(KeyEvent
the event to be processed keyEvent)Implements java. Invoked when a key has been typed. |
| public void | mouseClicked(MouseEvent
the event to be processed mouseEvent)Implements java. Invoked when the mouse button has been clicked (pressed and released) on a component. |
| public void | mouseDragged(MouseEvent
the event to be processed mouseEvent)Implements java. Invoked when a mouse button is pressed on a component and then dragged. |
| public void | mouseEntered(MouseEvent
the event to be processed mouseEvent)Implements java. Invoked when the mouse enters a component. |
| public void | mouseExited(MouseEvent
the event to be processed mouseEvent)Implements java. Invoked when the mouse exits a component. |
| public void | mouseMoved(MouseEvent
the event to be processed mouseEvent)Implements java. Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed. |
| public void | mousePressed(MouseEvent
the event to be processed mouseEvent)Implements java. Invoked when a mouse button has been pressed on a component. |
| public void | mouseReleased(MouseEvent
the event to be processed mouseEvent)Implements java. Invoked when a mouse button has been released on a component. |
| protected void | paintComponent(Graphics
the g)Graphics object to protectOverrides javax. Calls the UI delegate's paint method, if the UI delegate
is non- |
| private void | |
| private void | putInSelected(int index)
Puts an index in selected state or in other word it selects the byte of the index. |
| private void | |
| public void |
| EDIT | back to summary |
|---|---|
| private static final byte EDIT | |
| hexChangeListeners | back to summary |
|---|---|
| private final List<HexChangeListener> hexChangeListeners | |
| model | back to summary |
|---|---|
| private final HexModel model | |
| NORMAL | back to summary |
|---|---|
| private static final byte NORMAL | |
| SELECTED | back to summary |
|---|---|
| private static final byte SELECTED | |
| selectedChar | back to summary |
|---|---|
| private int selectedChar | |
| selectedIndex | back to summary |
|---|---|
| private int selectedIndex | |
| selectionChangeListeners | back to summary |
|---|---|
| private final List<SelectionChangeListener> selectionChangeListeners | |
| state | back to summary |
|---|---|
| private byte state | |
| HexPane | back to summary |
|---|---|
| pack-priv HexPane(HexModel model) Constructor.
| |
| addHexChangeListeners | back to summary |
|---|---|
| public void addHexChangeListeners(HexChangeListener listener) | |
| addSelectionChangeListener | back to summary |
|---|---|
| public void addSelectionChangeListener(SelectionChangeListener listener) | |
| fireHexValueChanged | back to summary |
|---|---|
| private void fireHexValueChanged(byte value, int index) | |
| fireSelectionChanged | back to summary |
|---|---|
| private void fireSelectionChanged(SelectEvent event) | |
| getByte | back to summary |
|---|---|
| private byte getByte(char[] chars) | |
| getChars | back to summary |
|---|---|
| private char[] getChars(byte b) | |
| getIndexForPoint | back to summary |
|---|---|
| private int getIndexForPoint(Point point) Returns the index for a given point If there is any byte in there.
| |
| getPointForIndex | back to summary |
|---|---|
| private Point getPointForIndex(int index) Returns the starting point in the view for any index.
| |
| getSelectedString | back to summary |
|---|---|
| private AttributedString getSelectedString(String str) | |
| hexModelChanged | back to summary |
|---|---|
| public void hexModelChanged(HexModelChangedEvent event) Implements org.
| |
| isHexChar | back to summary |
|---|---|
| private static boolean isHexChar(char c) | |
| keyPressed | back to summary |
|---|---|
| public void keyPressed(KeyEvent keyEvent) Implements java. Doc from java. Invoked when a key has been pressed.
See the class description for | |
| keyReleased | back to summary |
|---|---|
| public void keyReleased(KeyEvent keyEvent) Implements java. Doc from java. Invoked when a key has been released.
See the class description for | |
| keyTyped | back to summary |
|---|---|
| public void keyTyped(KeyEvent keyEvent) Implements java. Doc from java. Invoked when a key has been typed.
See the class description for | |
| mouseClicked | back to summary |
|---|---|
| public void mouseClicked(MouseEvent mouseEvent) Implements java. Doc from java. Invoked when the mouse button has been clicked (pressed and released) on a component.
| |
| mouseDragged | back to summary |
|---|---|
| public void mouseDragged(MouseEvent mouseEvent) Implements java. Doc from java. Invoked when a mouse button is pressed on a component and then
dragged.
Due to platform-dependent Drag&Drop implementations,
| |
| mouseEntered | back to summary |
|---|---|
| public void mouseEntered(MouseEvent mouseEvent) Implements java. Doc from java. Invoked when the mouse enters a component.
| |
| mouseExited | back to summary |
|---|---|
| public void mouseExited(MouseEvent mouseEvent) Implements java. Doc from java. Invoked when the mouse exits a component.
| |
| mouseMoved | back to summary |
|---|---|
| public void mouseMoved(MouseEvent mouseEvent) Implements java. Doc from java. Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.
| |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent mouseEvent) Implements java. Doc from java. Invoked when a mouse button has been pressed on a component.
| |
| mouseReleased | back to summary |
|---|---|
| public void mouseReleased(MouseEvent mouseEvent) Implements java. Doc from java. Invoked when a mouse button has been released on a component.
| |
| paintComponent | back to summary |
|---|---|
| protected void paintComponent(Graphics g) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in | |
| paintInEdit | back to summary |
|---|---|
| private void paintInEdit(Graphics g, byte content, int x, int y) | |
| putInSelected | back to summary |
|---|---|
| private void putInSelected(int index) Puts an index in selected state or in other word it selects the byte of the index. | |
| setDefault | back to summary |
|---|---|
| private void setDefault(Graphics g) | |
| setSelected | back to summary |
|---|---|
| public void setSelected(int index) | |