public class KeyboardPolinomio
extends java.lang.Object
miguelmonteiroclaveri@gmail.com github.com/mmonteiroc/Calculadora-Cientifica Paquete visual Proyecto Calculadora
Esta clase nos permite representar un keypad para poder hacer operaciones con polinomio(s)
Modifier and Type | Field and Description |
---|---|
private javax.swing.JButton |
borrar
|
private javax.swing.JButton |
boton0
|
private javax.swing.JButton |
boton1
|
private javax.swing.JButton |
boton2
|
private javax.swing.JButton |
boton3
|
private javax.swing.JButton |
boton4
|
private javax.swing.JButton |
boton5
|
private javax.swing.JButton |
boton6
|
private javax.swing.JButton |
boton7
|
private javax.swing.JButton |
boton8
|
private javax.swing.JButton |
boton9
|
private javax.swing.JButton |
botonComa
|
private javax.swing.JButton |
dividir
|
private javax.swing.JButton |
dividirButton
|
private javax.swing.JButton |
exponente
|
private javax.swing.JButton |
incognitaXButton
|
private javax.swing.JTextField |
input
|
private javax.swing.JPanel |
KeypadNormal
|
private javax.swing.JButton |
multiplicacion
|
private javax.swing.JButton |
multiplicarButton
|
private javax.swing.JPanel |
PanelPrincipal
|
private javax.swing.JButton |
parDch
|
private javax.swing.JButton |
parIzq
|
private javax.swing.JButton |
raicesButton
|
private javax.swing.JButton |
resta
|
private javax.swing.JButton |
Suma
|
private javax.swing.JButton |
sumarPolButton
|
Constructor and Description |
---|
KeyboardPolinomio(InterficieGrafica ig)
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
getPanelPrincipal()
|
private void |
saveStory(java.lang.String[] s)
|
private javax.swing.JPanel PanelPrincipal
private javax.swing.JPanel KeypadNormal
private javax.swing.JButton boton1
private javax.swing.JButton Suma
private javax.swing.JButton boton2
private javax.swing.JButton boton3
private javax.swing.JButton boton4
private javax.swing.JButton boton5
private javax.swing.JButton boton6
private javax.swing.JButton resta
private javax.swing.JButton boton7
private javax.swing.JButton boton8
private javax.swing.JButton boton9
private javax.swing.JButton boton0
private javax.swing.JButton botonComa
private javax.swing.JButton multiplicacion
private javax.swing.JButton dividir
private javax.swing.JButton borrar
private javax.swing.JButton parIzq
private javax.swing.JButton parDch
private javax.swing.JButton exponente
private javax.swing.JButton incognitaXButton
private javax.swing.JButton sumarPolButton
private javax.swing.JButton multiplicarButton
private javax.swing.JButton dividirButton
private javax.swing.JButton raicesButton
private javax.swing.JTextField input
KeyboardPolinomio(InterficieGrafica ig)
ig
- Interficie grafica que nos pasan
para poder interactuar con lo que
ve el usuario
Este constructor inicializamos los listeners que necesitaremos para poder interactuar con dicho keypad
private void saveStory(java.lang.String[] s)
s
- Array de Strings a guardar
Este metodo lo que hace es recibir un array de strings y guardarlo en la variable globar historico
public javax.swing.JPanel getPanelPrincipal()
Este pequeño metodo nos sirve para retornar el panel principal de la clase