public class KeyboardRoman
extends java.lang.Object
miguelmonteiroclaveri@gmail.com github.com/mmonteiroc/Calculadora-Cientifica Paquete visual Proyecto Calculadora
Clase que nos permite representar un keypad para poder trabajar con numeros romanos
Modifier and Type | Field and Description |
---|---|
private javax.swing.JButton |
boton_C
|
private javax.swing.JButton |
boton_D
|
private javax.swing.JButton |
boton_I
|
private javax.swing.JButton |
boton_L
|
private javax.swing.JButton |
boton_m
|
private javax.swing.JButton |
boton_V
|
private javax.swing.JButton |
boton_X
|
private javax.swing.JButton |
clear
|
private javax.swing.JButton |
division
|
private javax.swing.JButton |
multiplicar
|
private javax.swing.JPanel |
panelPrincipal
|
private javax.swing.JButton |
resta
|
private javax.swing.JButton |
Resultado
|
private javax.swing.JButton |
suma
|
Constructor and Description |
---|
KeyboardRoman(InterficieGrafica ig)
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
getPanelPrincipal()
|
private javax.swing.JButton boton_I
private javax.swing.JButton suma
private javax.swing.JButton boton_V
private javax.swing.JButton boton_X
private javax.swing.JButton boton_L
private javax.swing.JButton boton_C
private javax.swing.JButton boton_D
private javax.swing.JButton boton_m
private javax.swing.JButton resta
private javax.swing.JButton division
private javax.swing.JButton multiplicar
private javax.swing.JButton Resultado
private javax.swing.JPanel panelPrincipal
private javax.swing.JButton clear
KeyboardRoman(InterficieGrafica ig)
ig
- Interficie grafica que nos pasan
para poder interactuar con lo que
ve el usuario
Este constructor nos permite inicializar todos los listener que usara el usuario para interactuar con los botones de dicho keypad