Las tablas se deseleccionan al ver la vista
This commit is contained in:
@@ -108,7 +108,7 @@ public class AutorSearchController extends BaseController {
|
|||||||
public void reload() {
|
public void reload() {
|
||||||
this.loadAutorTable();
|
this.loadAutorTable();
|
||||||
this.view.getSearchField().requestFocus();
|
this.view.getSearchField().requestFocus();
|
||||||
this.view.getAutorTable().setRowSelectionInterval(0, 0);
|
this.view.getAutorTable().clearSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadAutorTable() {
|
private void loadAutorTable() {
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ public class CategoriaSearchController extends BaseController {
|
|||||||
|
|
||||||
public void reload() {
|
public void reload() {
|
||||||
this.loadCategoriaTable();
|
this.loadCategoriaTable();
|
||||||
this.view.getCategoriaTable().setRowSelectionInterval(0, 0);
|
this.view.getCategoriaTable().clearSelection();
|
||||||
this.view.getSearchField().requestFocus();
|
this.view.getSearchField().requestFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ public class ClienteSearchController extends BaseController {
|
|||||||
|
|
||||||
private void reload() {
|
private void reload() {
|
||||||
this.loadClienteTable();
|
this.loadClienteTable();
|
||||||
this.view.getClienteTable().setRowSelectionInterval(0, 0);
|
this.view.getClienteTable().clearSelection();
|
||||||
this.view.getSearchField().requestFocus();
|
this.view.getSearchField().requestFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ public class DistribuidorSearchController extends BaseController {
|
|||||||
|
|
||||||
private void reload() {
|
private void reload() {
|
||||||
this.loadDistribuidorTable();
|
this.loadDistribuidorTable();
|
||||||
this.view.getDistribuidorTable().setRowSelectionInterval(0, 0);
|
this.view.getDistribuidorTable().clearSelection();
|
||||||
this.view.getSearchField().requestFocus();
|
this.view.getSearchField().requestFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ public class EditorialSearchController extends BaseController {
|
|||||||
|
|
||||||
public void reload() {
|
public void reload() {
|
||||||
this.loadEditorialTable();
|
this.loadEditorialTable();
|
||||||
this.view.getEditorialTable().setRowSelectionInterval(0, 0);
|
this.view.getEditorialTable().clearSelection();
|
||||||
this.view.getBuscarField().requestFocus();
|
this.view.getBuscarField().requestFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ public class EmpresaSearchController extends BaseController {
|
|||||||
|
|
||||||
public void reload() {
|
public void reload() {
|
||||||
this.loadEmpresaTable();
|
this.loadEmpresaTable();
|
||||||
this.view.getEmpresaTable().setRowSelectionInterval(0, 0);
|
this.view.getEmpresaTable().clearSelection();
|
||||||
this.view.getBuscarField().requestFocus();
|
this.view.getBuscarField().requestFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ public class IdiomaSearchController extends BaseController {
|
|||||||
public void reload() {
|
public void reload() {
|
||||||
this.loadIdiomaTable();
|
this.loadIdiomaTable();
|
||||||
this.view.getBuscarField().requestFocus();
|
this.view.getBuscarField().requestFocus();
|
||||||
this.view.getIdiomaTable().setRowSelectionInterval(0, 0);
|
this.view.getIdiomaTable().clearSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ public class LibroSearchController extends BaseController {
|
|||||||
public void reload() {
|
public void reload() {
|
||||||
this.loadLibroTable();
|
this.loadLibroTable();
|
||||||
this.view.getBuscarField().requestFocus();
|
this.view.getBuscarField().requestFocus();
|
||||||
this.view.getLibrosTable().setRowSelectionInterval(0, 0);
|
this.view.getLibrosTable().clearSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ public class TrabajadorSearchController extends BaseController {
|
|||||||
private void reload() {
|
private void reload() {
|
||||||
this.loadTrabajadorTable();
|
this.loadTrabajadorTable();
|
||||||
this.view.getSearchField().requestFocus();
|
this.view.getSearchField().requestFocus();
|
||||||
this.view.getTrabajadorTable().setRowSelectionInterval(0, 0);
|
this.view.getTrabajadorTable().clearSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadTrabajadorTable() {
|
private void loadTrabajadorTable() {
|
||||||
|
|||||||
@@ -150,7 +150,9 @@
|
|||||||
<preferred-size width="400" height="-1"/>
|
<preferred-size width="400" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties/>
|
<properties>
|
||||||
|
<editable value="false"/>
|
||||||
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="f12bb" class="javax.swing.JLabel">
|
<component id="f12bb" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
|
|||||||
Reference in New Issue
Block a user