Package cli_fmw.main

Examples of cli_fmw.main.PageException


                                    break;
                                case MessageBox.ANSWER_CANCEL:
                                    return;
                            }
                        } catch (ClipsException ex) {
                            throw new PageException("Страница не может быть закрыта: ",ex);
                        }
                    }
                if (current instanceof ActivateSensitive){
                    ActivateSensitive as = (ActivateSensitive) current;
                    if (!as.canBeActivated()){
                        throw new PageException("Текущая панель не может быть деактивирована");
                    }
                    as.beforeDeactivate();
                }
                PageGeneric page = (PageGeneric) jTabbedPane1.getComponentAt(index);
                    ActivateSensitive as = (ActivateSensitive) page;
                    if (!as.canBeActivated()){
                        throw new PageException("Выбранная панель не может быть активирована");
                    }
                    as.beforeActivate();
                }
            }
View Full Code Here


            pnlDiscountCard.add((JPanel) pageToAdd, java.awt.BorderLayout.CENTER);
            pnlDiscountCard.revalidate();
            pnlDiscountCard.repaint();
            return pageToAdd;
        } else {
            throw new PageException("Страница не может быть добавлена");
        }
    }
View Full Code Here

            expenPage = pageToAdd;
            panelExpen.add((JPanel) pageToAdd);
            panelExpen.revalidate();
            return pageToAdd;
        } else {
            throw new PageException("Страница не может быть добавлена");
        }
    }
View Full Code Here

                panelExpen.removeAll();
                repaint();
            //this.expenPage = null;
            }
        } else {
            throw new PageException("Попытка удалить неизвестную страницу");
        }
    }
View Full Code Here

        }
    }

    @Override
    public void activatePage(PageGeneric page) throws PageException {
        throw new PageException("Не должно быть реализовано");
    }
View Full Code Here

                panel = new PanelECP(s.getSignMessage(), ic);
                jPanel6.add(panel);
                jPanel6.revalidate();
            }
        } catch (ClipsException ex) {
            throw new PageException("Не удалось получить цифровую подпись", ex);
        }
    }
View Full Code Here

            pnlView.add((JPanel) pageToAdd);
            pnlView.revalidate();
            contentStateChanged();
            return pageToAdd;
        } else {
            throw new PageException("Страница не может быть добавлена");
        }
    }
View Full Code Here

                this.innerPage = null;
                fireContainerEventStateChanged();
                jPanel6.removeAll();
            }
        } else {
            throw new PageException("Попытка удалить неизвестную страницу");
        }
    }
View Full Code Here

        }
    }

    @Override
    public void activatePage(PageGeneric page) throws PageException {
        throw new PageException("Не должно быть реализовано");
    }
View Full Code Here

                pnlEditClient.removeAll();
                repaint();
                this.panel = null;
            }
        } else {
            throw new PageException("Попытка удалить неизвестную страницу");
        }
    }
View Full Code Here

TOP

Related Classes of cli_fmw.main.PageException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.