From 8c29180b127512d7baffadc8e85126ab4070f413 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:32:28 +0000 Subject: [PATCH] deploy: 49aedd74b1625be47b3615ccd5955743d2e455b2 --- 404.html | 2 +- assets/js/{017e1775.5ebc9fa3.js => 017e1775.e8e2bf1f.js} | 2 +- assets/js/{0577d7e9.01b6bf51.js => 0577d7e9.f2b1fe1f.js} | 2 +- assets/js/{23e38187.8228c73a.js => 23e38187.b192406a.js} | 2 +- assets/js/{2abf1b13.eeef937c.js => 2abf1b13.04b81686.js} | 2 +- assets/js/{2df7d063.38003f3f.js => 2df7d063.e63a6f00.js} | 2 +- assets/js/{3202e975.c27b6995.js => 3202e975.9581f4f8.js} | 2 +- assets/js/{33b18326.9659fe64.js => 33b18326.e7b15a71.js} | 2 +- assets/js/{44a2ffa8.fa4abb0f.js => 44a2ffa8.610f66d0.js} | 2 +- assets/js/{47f3d74a.444f0fa8.js => 47f3d74a.43b513e9.js} | 2 +- assets/js/{4eb8144b.2453d1e3.js => 4eb8144b.4d28e4d6.js} | 2 +- assets/js/{5510d6bc.d39c729d.js => 5510d6bc.3e7e9541.js} | 2 +- assets/js/{559b7fc6.061bdd9b.js => 559b7fc6.392bc949.js} | 2 +- assets/js/{56ad8461.e93abb23.js => 56ad8461.08b7b3d0.js} | 2 +- assets/js/{693028f3.dc3bd061.js => 693028f3.d2484754.js} | 2 +- assets/js/{6da97851.356cb3c9.js => 6da97851.fb1dcc06.js} | 2 +- assets/js/{700cec1a.bcd2fcad.js => 700cec1a.ffaaae31.js} | 2 +- assets/js/{76eefc0f.d53e0d9c.js => 76eefc0f.5c007295.js} | 2 +- assets/js/{79697695.1fa1644b.js => 79697695.02ba1ba4.js} | 2 +- assets/js/{7c7204eb.41f6d30c.js => 7c7204eb.ca2f4fd9.js} | 2 +- assets/js/{7f7b6a5a.b4d9b2ac.js => 7f7b6a5a.a3d5ef0e.js} | 2 +- assets/js/{87878b99.5010eb27.js => 87878b99.3e2884b4.js} | 2 +- assets/js/{899bab7c.d3ad7d64.js => 899bab7c.c2cbfbba.js} | 2 +- assets/js/{9df0fb54.3a96d2ca.js => 9df0fb54.f85f4104.js} | 2 +- assets/js/{9eb89d33.05538b15.js => 9eb89d33.fe508ff7.js} | 2 +- assets/js/{a980013d.991ace0d.js => a980013d.cc75f9d6.js} | 2 +- assets/js/{a9bfb29e.8aa9b187.js => a9bfb29e.3653d76e.js} | 2 +- assets/js/{ac18fad6.4e05a4ea.js => ac18fad6.62a343cd.js} | 2 +- assets/js/{af08f1ee.998f39ad.js => af08f1ee.0fd55a24.js} | 2 +- assets/js/{b6fc7147.e2867186.js => b6fc7147.e321ee65.js} | 2 +- assets/js/{b8ef75ed.8dd55fd5.js => b8ef75ed.29656403.js} | 2 +- assets/js/{ba4df261.de036a0d.js => ba4df261.54d8e98a.js} | 2 +- assets/js/{c548088a.a0618212.js => c548088a.e95d655e.js} | 2 +- assets/js/{c58736f6.85e33dfa.js => c58736f6.373d732b.js} | 2 +- assets/js/{dc93842a.27e75ad8.js => dc93842a.4f43cbda.js} | 2 +- assets/js/{dd91dd19.ff475d38.js => dd91dd19.3a8bec16.js} | 2 +- assets/js/{e5a16701.ad35635b.js => e5a16701.367eb227.js} | 2 +- assets/js/{e71a10cb.a3e482b5.js => e71a10cb.02128069.js} | 2 +- assets/js/{e97f9a74.b237cbec.js => e97f9a74.783f4e7b.js} | 2 +- assets/js/{eca5a6fe.dc084d16.js => eca5a6fe.442f7984.js} | 2 +- assets/js/{f3918844.18f02759.js => f3918844.37efd9d0.js} | 2 +- assets/js/{ff6d8346.ef4497e8.js => ff6d8346.02d0e713.js} | 2 +- .../js/{runtime~main.a86a959f.js => runtime~main.fe66c064.js} | 2 +- docs/category/getting-started.html | 2 +- docs/category/layouts.html | 2 +- docs/category/styles.html | 2 +- docs/components/bbj-icon.html | 2 +- docs/components/button.html | 2 +- docs/components/checkbox.html | 2 +- docs/components/client-components/alert-popover.html | 2 +- docs/components/client-components/alert.html | 2 +- docs/components/client-components/app-layout.html | 2 +- docs/components/client-components/backdrop.html | 2 +- docs/components/client-components/busy.html | 2 +- docs/components/client-components/button.html | 2 +- docs/components/client-components/cedit.html | 2 +- docs/components/client-components/checkbox.html | 2 +- docs/components/client-components/color-chooser.html | 2 +- docs/components/client-components/dialog.html | 2 +- docs/components/client-components/drawer.html | 2 +- docs/components/client-components/dropdown.html | 2 +- docs/components/client-components/editbox-spinner.html | 2 +- docs/components/client-components/editbox.html | 2 +- docs/components/client-components/file-chooser.html | 2 +- docs/components/client-components/file-save.html | 2 +- docs/components/client-components/font-chooser.html | 2 +- docs/components/client-components/hotkey.html | 2 +- docs/components/client-components/icon-button.html | 2 +- docs/components/client-components/icon.html | 2 +- docs/components/client-components/infinite-scroll.html | 2 +- docs/components/client-components/inputd-spinner.html | 2 +- docs/components/client-components/inputd.html | 2 +- docs/components/client-components/inpute-spinner.html | 2 +- docs/components/client-components/inpute.html | 2 +- docs/components/client-components/inputn-spinner.html | 2 +- docs/components/client-components/inputn.html | 2 +- docs/components/client-components/inputt-spinner.html | 2 +- docs/components/client-components/inputt.html | 2 +- docs/components/client-components/list-button.html | 2 +- docs/components/client-components/list-edit.html | 2 +- docs/components/client-components/list.html | 2 +- docs/components/client-components/login.html | 2 +- docs/components/client-components/menu.html | 2 +- docs/components/client-components/menubar.html | 2 +- docs/components/client-components/menuitem.html | 2 +- docs/components/client-components/navigator.html | 2 +- docs/components/client-components/popover.html | 2 +- docs/components/client-components/popupmenu.html | 2 +- docs/components/client-components/progressbar.html | 2 +- docs/components/client-components/radio.html | 2 +- docs/components/client-components/refresher.html | 2 +- docs/components/client-components/separator.html | 2 +- docs/components/client-components/slider.html | 2 +- docs/components/client-components/spinner.html | 2 +- docs/components/client-components/splitter.html | 2 +- docs/components/client-components/tab-panel.html | 2 +- docs/components/client-components/tab.html | 2 +- docs/components/client-components/tabs-list.html | 2 +- docs/components/client-components/toast.html | 2 +- docs/components/client-components/tree-node.html | 2 +- docs/components/client-components/tree.html | 2 +- docs/components/client-components/upload.html | 2 +- docs/components/dialog.html | 2 +- docs/components/drawer.html | 2 +- docs/components/events/BlurEvent.html | 2 +- docs/components/events/ButtonClickEvent.html | 2 +- docs/components/events/CheckEvent.html | 2 +- docs/components/events/FocusEvent.html | 2 +- docs/components/events/KeypressEvent.html | 2 +- docs/components/events/ListClickEvent.html | 2 +- docs/components/events/ListCloseEvent.html | 2 +- docs/components/events/ListEvent.html | 2 +- docs/components/events/ListOpenEvent.html | 2 +- docs/components/events/ListSelectEvent.html | 2 +- docs/components/events/ModifyEvent.html | 2 +- docs/components/events/MouseEnterEvent.html | 2 +- docs/components/events/MouseExitEvent.html | 2 +- docs/components/events/RightMouseDownEvent.html | 2 +- docs/components/events/ToggleEvent.html | 2 +- docs/components/events/UncheckEvent.html | 2 +- docs/components/events/event.html | 2 +- docs/components/fields.html | 2 +- docs/components/fields/colorfield.html | 2 +- docs/components/fields/datefield.html | 2 +- docs/components/fields/datetimefield.html | 2 +- docs/components/fields/numberfield.html | 2 +- docs/components/fields/passwordfield.html | 2 +- docs/components/fields/textfield.html | 2 +- docs/components/fields/timefield.html | 2 +- docs/components/home.html | 2 +- docs/components/label.html | 2 +- docs/components/list-components/choicebox.html | 2 +- docs/components/list-components/combobox.html | 2 +- docs/components/list-components/listbox.html | 2 +- docs/components/list-components/lists.html | 2 +- docs/components/progress-bar.html | 2 +- docs/components/radiobutton.html | 2 +- docs/components/radiobuttongroup.html | 2 +- docs/components/slider.html | 2 +- docs/components/styles/checkbox.html | 2 +- docs/components/text-area.html | 2 +- docs/getting_started/Templates/app_layout.html | 2 +- docs/getting_started/Templates/hello_world.html | 2 +- docs/getting_started/architecture.html | 2 +- docs/getting_started/configuration.html | 2 +- docs/getting_started/creating_an_application.html | 2 +- docs/glossary.html | 2 +- docs/installation.html | 2 +- docs/installation/contributors.html | 2 +- docs/installation/docker_user.html | 2 +- docs/installation/github_codespaces.html | 2 +- docs/installation/local_install.html | 2 +- docs/intro.html | 2 +- docs/layouts/app-layout.html | 2 +- docs/layouts/flex_layouts.html | 2 +- docs/styling/styling_intro.html | 2 +- docs/styling/theme.html | 2 +- index.html | 2 +- live_demo.html | 2 +- markdown-page.html | 2 +- search.html | 2 +- 161 files changed, 161 insertions(+), 161 deletions(-) rename assets/js/{017e1775.5ebc9fa3.js => 017e1775.e8e2bf1f.js} (99%) rename assets/js/{0577d7e9.01b6bf51.js => 0577d7e9.f2b1fe1f.js} (96%) rename assets/js/{23e38187.8228c73a.js => 23e38187.b192406a.js} (96%) rename assets/js/{2abf1b13.eeef937c.js => 2abf1b13.04b81686.js} (99%) rename assets/js/{2df7d063.38003f3f.js => 2df7d063.e63a6f00.js} (98%) rename assets/js/{3202e975.c27b6995.js => 3202e975.9581f4f8.js} (97%) rename assets/js/{33b18326.9659fe64.js => 33b18326.e7b15a71.js} (99%) rename assets/js/{44a2ffa8.fa4abb0f.js => 44a2ffa8.610f66d0.js} (99%) rename assets/js/{47f3d74a.444f0fa8.js => 47f3d74a.43b513e9.js} (99%) rename assets/js/{4eb8144b.2453d1e3.js => 4eb8144b.4d28e4d6.js} (99%) rename assets/js/{5510d6bc.d39c729d.js => 5510d6bc.3e7e9541.js} (97%) rename assets/js/{559b7fc6.061bdd9b.js => 559b7fc6.392bc949.js} (99%) rename assets/js/{56ad8461.e93abb23.js => 56ad8461.08b7b3d0.js} (99%) rename assets/js/{693028f3.dc3bd061.js => 693028f3.d2484754.js} (97%) rename assets/js/{6da97851.356cb3c9.js => 6da97851.fb1dcc06.js} (96%) rename assets/js/{700cec1a.bcd2fcad.js => 700cec1a.ffaaae31.js} (99%) rename assets/js/{76eefc0f.d53e0d9c.js => 76eefc0f.5c007295.js} (97%) rename assets/js/{79697695.1fa1644b.js => 79697695.02ba1ba4.js} (99%) rename assets/js/{7c7204eb.41f6d30c.js => 7c7204eb.ca2f4fd9.js} (98%) rename assets/js/{7f7b6a5a.b4d9b2ac.js => 7f7b6a5a.a3d5ef0e.js} (95%) rename assets/js/{87878b99.5010eb27.js => 87878b99.3e2884b4.js} (99%) rename assets/js/{899bab7c.d3ad7d64.js => 899bab7c.c2cbfbba.js} (99%) rename assets/js/{9df0fb54.3a96d2ca.js => 9df0fb54.f85f4104.js} (99%) rename assets/js/{9eb89d33.05538b15.js => 9eb89d33.fe508ff7.js} (99%) rename assets/js/{a980013d.991ace0d.js => a980013d.cc75f9d6.js} (98%) rename assets/js/{a9bfb29e.8aa9b187.js => a9bfb29e.3653d76e.js} (99%) rename assets/js/{ac18fad6.4e05a4ea.js => ac18fad6.62a343cd.js} (96%) rename assets/js/{af08f1ee.998f39ad.js => af08f1ee.0fd55a24.js} (99%) rename assets/js/{b6fc7147.e2867186.js => b6fc7147.e321ee65.js} (98%) rename assets/js/{b8ef75ed.8dd55fd5.js => b8ef75ed.29656403.js} (99%) rename assets/js/{ba4df261.de036a0d.js => ba4df261.54d8e98a.js} (99%) rename assets/js/{c548088a.a0618212.js => c548088a.e95d655e.js} (97%) rename assets/js/{c58736f6.85e33dfa.js => c58736f6.373d732b.js} (99%) rename assets/js/{dc93842a.27e75ad8.js => dc93842a.4f43cbda.js} (97%) rename assets/js/{dd91dd19.ff475d38.js => dd91dd19.3a8bec16.js} (99%) rename assets/js/{e5a16701.ad35635b.js => e5a16701.367eb227.js} (99%) rename assets/js/{e71a10cb.a3e482b5.js => e71a10cb.02128069.js} (97%) rename assets/js/{e97f9a74.b237cbec.js => e97f9a74.783f4e7b.js} (99%) rename assets/js/{eca5a6fe.dc084d16.js => eca5a6fe.442f7984.js} (98%) rename assets/js/{f3918844.18f02759.js => f3918844.37efd9d0.js} (99%) rename assets/js/{ff6d8346.ef4497e8.js => ff6d8346.02d0e713.js} (99%) rename assets/js/{runtime~main.a86a959f.js => runtime~main.fe66c064.js} (61%) diff --git a/404.html b/404.html index 47a27fc9a..8859c0a5f 100644 --- a/404.html +++ b/404.html @@ -13,7 +13,7 @@ - +
diff --git a/assets/js/017e1775.5ebc9fa3.js b/assets/js/017e1775.e8e2bf1f.js similarity index 99% rename from assets/js/017e1775.5ebc9fa3.js rename to assets/js/017e1775.e8e2bf1f.js index 0204c08b4..4468707b0 100644 --- a/assets/js/017e1775.5ebc9fa3.js +++ b/assets/js/017e1775.e8e2bf1f.js @@ -102,7 +102,7 @@ transition: opacity 0.3s ease-in-out; ${B&&"opacity: 1;"}; - `;return(0,u.BX)("div",{css:C,children:["hidden"!=g?(0,u.BX)("div",{onMouseEnter:()=>{S(!0)},onMouseLeave:()=>S(!1),css:O,children:[(0,u.tZ)("div",{css:N,children:(0,u.tZ)(w,{url:t})}),(0,u.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,p.I)().colorMode?"dark":"light"),css:E})]}):null,(0,u.BX)(o.Z,{css:L,summary:(0,u.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,u.tZ)(m,{collapse:T,setCollapse:k}):null,d?(0,u.BX)(i.Z,{children:[(0,u.tZ)(s.Z,{value:b?b[0]:"Java",label:b?b[0]:Z.javaFile,default:!0,children:(0,u.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?f:A})}),(0,u.tZ)(s.Z,{value:b?b[1]:"CSS",label:b?b[1]:Z.cssFile,children:(0,u.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:j})})]}):(0,u.tZ)(i.Z,{children:(0,u.tZ)(s.Z,{value:b?b[0]:"Java",label:b?b[0]:Z.javaFile,default:!0,children:(0,u.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?f:A})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(7294),a=n(917),i=n(8230),s=n(4387),o=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:p}=e;const[u,m]=(0,r.useState)("");(0,r.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+p)}),[]);const w=a.iv` + `;return(0,u.BX)("div",{css:C,children:["hidden"!=g?(0,u.BX)("div",{onMouseEnter:()=>{S(!0)},onMouseLeave:()=>S(!1),css:O,children:[(0,u.tZ)("div",{css:N,children:(0,u.tZ)(w,{url:t})}),(0,u.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,p.I)().colorMode?"dark":"light"),css:E})]}):null,(0,u.BX)(o.Z,{css:L,summary:(0,u.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,u.tZ)(m,{collapse:T,setCollapse:k}):null,d?(0,u.BX)(i.Z,{children:[(0,u.tZ)(s.Z,{value:b?b[0]:"Java",label:b?b[0]:Z.javaFile,default:!0,children:(0,u.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?f:A})}),(0,u.tZ)(s.Z,{value:b?b[1]:"CSS",label:b?b[1]:Z.cssFile,children:(0,u.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:j})})]}):(0,u.tZ)(i.Z,{children:(0,u.tZ)(s.Z,{value:b?b[0]:"Java",label:b?b[0]:Z.javaFile,default:!0,children:(0,u.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?f:A})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(7294),a=n(917),i=n(8230),s=n(4387),o=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:p}=e;const[u,m]=(0,r.useState)("");(0,r.useEffect)((()=>{p||(p=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+p)}),[]);const w=a.iv` display: inline; ${c&&a.iv` diff --git a/assets/js/0577d7e9.01b6bf51.js b/assets/js/0577d7e9.f2b1fe1f.js similarity index 96% rename from assets/js/0577d7e9.01b6bf51.js rename to assets/js/0577d7e9.f2b1fe1f.js index 4b37aaccc..5740b0212 100644 --- a/assets/js/0577d7e9.01b6bf51.js +++ b/assets/js/0577d7e9.f2b1fe1f.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[2084],{978:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>o,default:()=>m,frontMatter:()=>c,metadata:()=>d,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const c={sidebar_position:0,title:"ListClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListClickEvent"},o=void 0,d={id:"components/events/click-event",title:"ListClickEvent",description:"This event is triggered when the user clicks an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/click-event.md",sourceDirName:"components/events",slug:"/components/events/ListClickEvent",permalink:"/docs/components/events/ListClickEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/click-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListClickEvent"},sidebar:"documentationSidebar",previous:{title:"CheckEvent",permalink:"/docs/components/events/CheckEvent"},next:{title:"FocusEvent",permalink:"/docs/components/events/FocusEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListClickEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is triggered when the user clicks an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),c=n(4387),o=n(6770);var d=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:m}=e;const[p,v]=(0,s.useState)("");(0,s.useEffect)((()=>{v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+m)}),[]);const u=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[2084],{978:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>o,default:()=>m,frontMatter:()=>c,metadata:()=>d,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const c={sidebar_position:0,title:"ListClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListClickEvent"},o=void 0,d={id:"components/events/click-event",title:"ListClickEvent",description:"This event is triggered when the user clicks an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/click-event.md",sourceDirName:"components/events",slug:"/components/events/ListClickEvent",permalink:"/docs/components/events/ListClickEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/click-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListClickEvent"},sidebar:"documentationSidebar",previous:{title:"CheckEvent",permalink:"/docs/components/events/CheckEvent"},next:{title:"FocusEvent",permalink:"/docs/components/events/FocusEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListClickEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is triggered when the user clicks an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),c=n(4387),o=n(6770);var d=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:m}=e;const[p,v]=(0,s.useState)("");(0,s.useEffect)((()=>{m||(m=""),v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+m)}),[]);const u=i.iv` display: inline; ${r&&i.iv` diff --git a/assets/js/23e38187.8228c73a.js b/assets/js/23e38187.b192406a.js similarity index 96% rename from assets/js/23e38187.8228c73a.js rename to assets/js/23e38187.b192406a.js index feffd2b83..a3bab8216 100644 --- a/assets/js/23e38187.8228c73a.js +++ b/assets/js/23e38187.b192406a.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[4384],{3299:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>d,default:()=>v,frontMatter:()=>c,metadata:()=>r,toc:()=>l});var s=n(5893),o=n(1151),i=n(3273);const c={sidebar_position:0,title:"Event",sidebar_class_name:"sidebar--item__hidden",slug:"event",pagination_prev:null},d=void 0,r={id:"components/events/event",title:"Event",description:"This class is the base class for all events fired by the components. It is extended by the other events implemented by various components, and can also be extended to create custom events.",source:"@site/docs/components/events/event.md",sourceDirName:"components/events",slug:"/components/events/event",permalink:"/docs/components/events/event",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"Event",sidebar_class_name:"sidebar--item__hidden",slug:"event",pagination_prev:null},sidebar:"documentationSidebar",next:{title:"BlurEvent",permalink:"/docs/components/events/BlurEvent"}},a={},l=[{value:"Event Payload",id:"event-payload",level:2}];function h(e){const t={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/Event",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This class is the base class for all events fired by the components. It is extended by the other events implemented by various components, and can also be extended to create custom events."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getData()"})}),(0,s.jsx)(t.td,{children:"Get the event map sent by the component."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getEventMap()"})}),(0,s.jsxs)(t.td,{children:["Alias for the ",(0,s.jsx)(t.code,{children:"getData()"})," method above."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getControl()"})}),(0,s.jsx)(t.td,{children:"Gets the control."})]})]})]})]})}function v(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(7294),o=n(917),i=n(8230),c=n(4387),d=n(6770);var r=n(5944);function a(e){let{type:t,location:n,top:a,children:l,code:h,suffix:v}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const u=o.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[4384],{3299:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>d,default:()=>v,frontMatter:()=>c,metadata:()=>r,toc:()=>l});var s=n(5893),o=n(1151),i=n(3273);const c={sidebar_position:0,title:"Event",sidebar_class_name:"sidebar--item__hidden",slug:"event",pagination_prev:null},d=void 0,r={id:"components/events/event",title:"Event",description:"This class is the base class for all events fired by the components. It is extended by the other events implemented by various components, and can also be extended to create custom events.",source:"@site/docs/components/events/event.md",sourceDirName:"components/events",slug:"/components/events/event",permalink:"/docs/components/events/event",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"Event",sidebar_class_name:"sidebar--item__hidden",slug:"event",pagination_prev:null},sidebar:"documentationSidebar",next:{title:"BlurEvent",permalink:"/docs/components/events/BlurEvent"}},a={},l=[{value:"Event Payload",id:"event-payload",level:2}];function h(e){const t={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/Event",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This class is the base class for all events fired by the components. It is extended by the other events implemented by various components, and can also be extended to create custom events."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getData()"})}),(0,s.jsx)(t.td,{children:"Get the event map sent by the component."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getEventMap()"})}),(0,s.jsxs)(t.td,{children:["Alias for the ",(0,s.jsx)(t.code,{children:"getData()"})," method above."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getControl()"})}),(0,s.jsx)(t.td,{children:"Gets the control."})]})]})]})]})}function v(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(7294),o=n(917),i=n(8230),c=n(4387),d=n(6770);var r=n(5944);function a(e){let{type:t,location:n,top:a,children:l,code:h,suffix:v}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{v||(v=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const u=o.iv` display: inline; ${a&&o.iv` diff --git a/assets/js/2abf1b13.eeef937c.js b/assets/js/2abf1b13.04b81686.js similarity index 99% rename from assets/js/2abf1b13.eeef937c.js rename to assets/js/2abf1b13.04b81686.js index 9ebbbf4e6..f8f8a7abe 100644 --- a/assets/js/2abf1b13.eeef937c.js +++ b/assets/js/2abf1b13.04b81686.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${S&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:E,children:["hidden"!=g?(0,p.BX)("div",{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>D(!1),css:N,children:[(0,p.tZ)("div",{css:O,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:M})]}):null,(0,p.BX)(a.Z,{css:T,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[s&&c?(0,p.tZ)(m,{collapse:L,setCollapse:k}):null,d?(0,p.BX)(o.Z,{children:[(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:L?v:w})}),(0,p.tZ)(r.Z,{value:A?A[1]:"CSS",label:A?A[1]:Z.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(o.Z,{children:(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:L?v:w})})})]})]})}},3273:(e,t,s)=>{s.d(t,{Z:()=>c});var n=s(7294),i=s(917),o=s(8230),r=s(4387),a=s(6770);var l=s(5944);function c(e){let{type:t,location:s,top:c,children:d,code:h,suffix:u}=e;const[p,m]=(0,n.useState)("");(0,n.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+s+".html"+u)}),[]);const b=i.iv` + `;return(0,p.BX)("div",{css:E,children:["hidden"!=g?(0,p.BX)("div",{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>D(!1),css:N,children:[(0,p.tZ)("div",{css:O,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:M})]}):null,(0,p.BX)(a.Z,{css:T,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[s&&c?(0,p.tZ)(m,{collapse:L,setCollapse:k}):null,d?(0,p.BX)(o.Z,{children:[(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:L?v:w})}),(0,p.tZ)(r.Z,{value:A?A[1]:"CSS",label:A?A[1]:Z.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(o.Z,{children:(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:L?v:w})})})]})]})}},3273:(e,t,s)=>{s.d(t,{Z:()=>c});var n=s(7294),i=s(917),o=s(8230),r=s(4387),a=s(6770);var l=s(5944);function c(e){let{type:t,location:s,top:c,children:d,code:h,suffix:u}=e;const[p,m]=(0,n.useState)("");(0,n.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+s+".html"+u)}),[]);const b=i.iv` display: inline; ${c&&i.iv` diff --git a/assets/js/2df7d063.38003f3f.js b/assets/js/2df7d063.e63a6f00.js similarity index 98% rename from assets/js/2df7d063.38003f3f.js rename to assets/js/2df7d063.e63a6f00.js index fddf54c52..da8853a99 100644 --- a/assets/js/2df7d063.38003f3f.js +++ b/assets/js/2df7d063.e63a6f00.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[7100],{3343:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>d,default:()=>p,frontMatter:()=>c,metadata:()=>o,toc:()=>a});var n=s(5893),r=s(1151),i=s(3273);const c={sidebar_position:0,title:"KeypressEvent",sidebar_class_name:"sidebar--item__hidden",slug:"KeypressEvent"},d=void 0,o={id:"components/events/keypress-event",title:"KeypressEvent",description:"A Keypress event occurs when a user presses a specific key on the keyboard while an element, such as an input field or a specific section of a web page, has focus. This event is commonly used to capture and respond to user keyboard interactions.",source:"@site/docs/components/events/keypress-event.md",sourceDirName:"components/events",slug:"/components/events/KeypressEvent",permalink:"/docs/components/events/KeypressEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/keypress-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"KeypressEvent",sidebar_class_name:"sidebar--item__hidden",slug:"KeypressEvent"},sidebar:"documentationSidebar",previous:{title:"FocusEvent",permalink:"/docs/components/events/FocusEvent"},next:{title:"ListCloseEvent",permalink:"/docs/components/events/ListCloseEvent"}},l={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/KeypressEvent",top:"true"}),"\n",(0,n.jsx)(t.p,{children:"A Keypress event occurs when a user presses a specific key on the keyboard while an element, such as an input field or a specific section of a web page, has focus. This event is commonly used to capture and respond to user keyboard interactions."}),"\n",(0,n.jsx)(t.p,{children:"When a Keypress event is triggered, the key that was pressed can be determine using the key code, and a specific action or actions can be performed based on the user's input. For example, it can be used to validate user input in form fields, implement keyboard shortcuts, or trigger certain actions based on specific key combinations."}),"\n",(0,n.jsxs)(t.p,{children:["To see a list of keys that trigger this event, ",(0,n.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/KeypressEvent.Key",children:"see the Javadoc."})," This class also inherits methods from the ",(0,n.jsxs)(t.a,{href:"./event",children:["base ",(0,n.jsx)(t.code,{children:"Event"})," class"]})]}),"\n",(0,n.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,n.jsx)(t.th,{children:"Description"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"getCode()"})}),(0,n.jsx)(t.td,{children:"Returns the integer value of the key code."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"getName()"})}),(0,n.jsx)(t.td,{children:"Returns the name of the key code."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"fromCode(int value)"})}),(0,n.jsx)(t.td,{children:"Returns the key code that matches the given integer value."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"fromName(String name)"})}),(0,n.jsx)(t.td,{children:"Returns the key code that matches the given name."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"getKeyCode()"})}),(0,n.jsx)(t.td,{children:"Returns the key that was pressed."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isAltKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the alt key was pressed when the event happened."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isCmdKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the command key was pressed when the event happened."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isControlKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the control key was pressed when the event happened."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isShiftKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the shift key was pressed when the event happened."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"./event",children:"Event"})}),"\n"]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},3273:(e,t,s)=>{s.d(t,{Z:()=>l});var n=s(7294),r=s(917),i=s(8230),c=s(4387),d=s(6770);var o=s(5944);function l(e){let{type:t,location:s,top:l,children:a,code:h,suffix:p}=e;const[u,x]=(0,n.useState)("");(0,n.useEffect)((()=>{x("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+s+".html"+p)}),[]);const v=r.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[7100],{3343:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>d,default:()=>p,frontMatter:()=>c,metadata:()=>o,toc:()=>a});var n=s(5893),r=s(1151),i=s(3273);const c={sidebar_position:0,title:"KeypressEvent",sidebar_class_name:"sidebar--item__hidden",slug:"KeypressEvent"},d=void 0,o={id:"components/events/keypress-event",title:"KeypressEvent",description:"A Keypress event occurs when a user presses a specific key on the keyboard while an element, such as an input field or a specific section of a web page, has focus. This event is commonly used to capture and respond to user keyboard interactions.",source:"@site/docs/components/events/keypress-event.md",sourceDirName:"components/events",slug:"/components/events/KeypressEvent",permalink:"/docs/components/events/KeypressEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/keypress-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"KeypressEvent",sidebar_class_name:"sidebar--item__hidden",slug:"KeypressEvent"},sidebar:"documentationSidebar",previous:{title:"FocusEvent",permalink:"/docs/components/events/FocusEvent"},next:{title:"ListCloseEvent",permalink:"/docs/components/events/ListCloseEvent"}},l={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/KeypressEvent",top:"true"}),"\n",(0,n.jsx)(t.p,{children:"A Keypress event occurs when a user presses a specific key on the keyboard while an element, such as an input field or a specific section of a web page, has focus. This event is commonly used to capture and respond to user keyboard interactions."}),"\n",(0,n.jsx)(t.p,{children:"When a Keypress event is triggered, the key that was pressed can be determine using the key code, and a specific action or actions can be performed based on the user's input. For example, it can be used to validate user input in form fields, implement keyboard shortcuts, or trigger certain actions based on specific key combinations."}),"\n",(0,n.jsxs)(t.p,{children:["To see a list of keys that trigger this event, ",(0,n.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/KeypressEvent.Key",children:"see the Javadoc."})," This class also inherits methods from the ",(0,n.jsxs)(t.a,{href:"./event",children:["base ",(0,n.jsx)(t.code,{children:"Event"})," class"]})]}),"\n",(0,n.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,n.jsx)(t.th,{children:"Description"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"getCode()"})}),(0,n.jsx)(t.td,{children:"Returns the integer value of the key code."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"getName()"})}),(0,n.jsx)(t.td,{children:"Returns the name of the key code."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"fromCode(int value)"})}),(0,n.jsx)(t.td,{children:"Returns the key code that matches the given integer value."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"fromName(String name)"})}),(0,n.jsx)(t.td,{children:"Returns the key code that matches the given name."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"getKeyCode()"})}),(0,n.jsx)(t.td,{children:"Returns the key that was pressed."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isAltKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the alt key was pressed when the event happened."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isCmdKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the command key was pressed when the event happened."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isControlKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the control key was pressed when the event happened."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"center"},children:(0,n.jsx)(t.code,{children:"isShiftKey()"})}),(0,n.jsx)(t.td,{children:"Returns whether or not the shift key was pressed when the event happened."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"./event",children:"Event"})}),"\n"]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},3273:(e,t,s)=>{s.d(t,{Z:()=>l});var n=s(7294),r=s(917),i=s(8230),c=s(4387),d=s(6770);var o=s(5944);function l(e){let{type:t,location:s,top:l,children:a,code:h,suffix:p}=e;const[u,x]=(0,n.useState)("");(0,n.useEffect)((()=>{p||(p=""),x("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+s+".html"+p)}),[]);const v=r.iv` display: inline; ${l&&r.iv` diff --git a/assets/js/3202e975.c27b6995.js b/assets/js/3202e975.9581f4f8.js similarity index 97% rename from assets/js/3202e975.c27b6995.js rename to assets/js/3202e975.9581f4f8.js index fdd663b79..ac7f9d81e 100644 --- a/assets/js/3202e975.c27b6995.js +++ b/assets/js/3202e975.9581f4f8.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3850],{4583:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>a,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>l,toc:()=>d});var i=n(5893),o=n(1151),s=n(3273);const c={sidebar_position:0,title:"ButtonClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ButtonClickEvent"},r=void 0,l={id:"components/events/button-click-event",title:"ButtonClickEvent",description:"The ButtonClickEvent is an event type that is triggered when a user clicks on a Button element. This event is essential for capturing user interactions with buttons on a web page, such as submitting forms, triggering actions, or navigating to different sections of the site.",source:"@site/docs/components/events/button-click-event.md",sourceDirName:"components/events",slug:"/components/events/ButtonClickEvent",permalink:"/docs/components/events/ButtonClickEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/button-click-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ButtonClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ButtonClickEvent"},sidebar:"documentationSidebar",previous:{title:"BlurEvent",permalink:"/docs/components/events/BlurEvent"},next:{title:"CheckEvent",permalink:"/docs/components/events/CheckEvent"}},a={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(t){const e={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,o.a)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/event/ButtonClickEvent",top:"true"}),"\n",(0,i.jsxs)(e.p,{children:["The ",(0,i.jsx)(e.code,{children:"ButtonClickEvent"})," is an event type that is triggered when a user clicks on a ",(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/Button",code:"true",children:"Button"})," element. This event is essential for capturing user interactions with buttons on a web page, such as submitting forms, triggering actions, or navigating to different sections of the site."]}),"\n",(0,i.jsx)(e.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{style:{textAlign:"center"},children:"Method"}),(0,i.jsx)(e.th,{children:"Description"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{style:{textAlign:"center"},children:(0,i.jsx)(e.code,{children:"getX()"})}),(0,i.jsxs)(e.td,{children:["Returns the X location of the mouse within the ",(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/Button",code:"true",children:"Button"})," component at the time the event was fired."]})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{style:{textAlign:"center"},children:(0,i.jsx)(e.code,{children:"getY()"})}),(0,i.jsxs)(e.td,{children:["Returns the Y location of the mouse within the ",(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/Button",code:"true",children:"Button"})," component at the time the event was fired."]})]})]})]}),"\n",(0,i.jsx)(e.h2,{id:"see-also",children:"See Also"}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:(0,i.jsx)(e.a,{href:"./event",children:"Event"})}),"\n",(0,i.jsx)(e.li,{children:(0,i.jsx)(e.a,{href:"../button",children:"Button"})}),"\n"]})]})}function u(t={}){const{wrapper:e}={...(0,o.a)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(h,{...t})}):h(t)}},3273:(t,e,n)=>{n.d(e,{Z:()=>a});var i=n(7294),o=n(917),s=n(8230),c=n(4387),r=n(6770);var l=n(5944);function a(t){let{type:e,location:n,top:a,children:d,code:h,suffix:u}=t;const[v,p]=(0,i.useState)("");(0,i.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+e+"/latest/"+n+".html"+u)}),[]);const m=o.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3850],{4583:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>a,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>l,toc:()=>d});var i=n(5893),o=n(1151),s=n(3273);const c={sidebar_position:0,title:"ButtonClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ButtonClickEvent"},r=void 0,l={id:"components/events/button-click-event",title:"ButtonClickEvent",description:"The ButtonClickEvent is an event type that is triggered when a user clicks on a Button element. This event is essential for capturing user interactions with buttons on a web page, such as submitting forms, triggering actions, or navigating to different sections of the site.",source:"@site/docs/components/events/button-click-event.md",sourceDirName:"components/events",slug:"/components/events/ButtonClickEvent",permalink:"/docs/components/events/ButtonClickEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/button-click-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ButtonClickEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ButtonClickEvent"},sidebar:"documentationSidebar",previous:{title:"BlurEvent",permalink:"/docs/components/events/BlurEvent"},next:{title:"CheckEvent",permalink:"/docs/components/events/CheckEvent"}},a={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(t){const e={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,o.a)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/event/ButtonClickEvent",top:"true"}),"\n",(0,i.jsxs)(e.p,{children:["The ",(0,i.jsx)(e.code,{children:"ButtonClickEvent"})," is an event type that is triggered when a user clicks on a ",(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/Button",code:"true",children:"Button"})," element. This event is essential for capturing user interactions with buttons on a web page, such as submitting forms, triggering actions, or navigating to different sections of the site."]}),"\n",(0,i.jsx)(e.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,i.jsxs)(e.table,{children:[(0,i.jsx)(e.thead,{children:(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.th,{style:{textAlign:"center"},children:"Method"}),(0,i.jsx)(e.th,{children:"Description"})]})}),(0,i.jsxs)(e.tbody,{children:[(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{style:{textAlign:"center"},children:(0,i.jsx)(e.code,{children:"getX()"})}),(0,i.jsxs)(e.td,{children:["Returns the X location of the mouse within the ",(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/Button",code:"true",children:"Button"})," component at the time the event was fired."]})]}),(0,i.jsxs)(e.tr,{children:[(0,i.jsx)(e.td,{style:{textAlign:"center"},children:(0,i.jsx)(e.code,{children:"getY()"})}),(0,i.jsxs)(e.td,{children:["Returns the Y location of the mouse within the ",(0,i.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/button/Button",code:"true",children:"Button"})," component at the time the event was fired."]})]})]})]}),"\n",(0,i.jsx)(e.h2,{id:"see-also",children:"See Also"}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:(0,i.jsx)(e.a,{href:"./event",children:"Event"})}),"\n",(0,i.jsx)(e.li,{children:(0,i.jsx)(e.a,{href:"../button",children:"Button"})}),"\n"]})]})}function u(t={}){const{wrapper:e}={...(0,o.a)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(h,{...t})}):h(t)}},3273:(t,e,n)=>{n.d(e,{Z:()=>a});var i=n(7294),o=n(917),s=n(8230),c=n(4387),r=n(6770);var l=n(5944);function a(t){let{type:e,location:n,top:a,children:d,code:h,suffix:u}=t;const[v,p]=(0,i.useState)("");(0,i.useEffect)((()=>{u||(u=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+e+"/latest/"+n+".html"+u)}),[]);const m=o.iv` display: inline; ${a&&o.iv` diff --git a/assets/js/33b18326.9659fe64.js b/assets/js/33b18326.e7b15a71.js similarity index 99% rename from assets/js/33b18326.9659fe64.js rename to assets/js/33b18326.e7b15a71.js index db1721255..39c008a43 100644 --- a/assets/js/33b18326.9659fe64.js +++ b/assets/js/33b18326.e7b15a71.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${D&&"opacity: 1;"}; - `;return(0,u.BX)("div",{css:Z,children:["hidden"!=m?(0,u.BX)("div",{onMouseEnter:()=>{H(!0)},onMouseLeave:()=>H(!1),css:X,children:[(0,u.tZ)("div",{css:k,children:(0,u.tZ)(g,{url:t})}),(0,u.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:I})]}):null,(0,u.BX)(o.Z,{css:V,summary:(0,u.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,u.tZ)(p,{collapse:C,setCollapse:j}):null,c?(0,u.BX)(a.Z,{children:[(0,u.tZ)(s.Z,{value:f?f[0]:"Java",label:f?f[0]:O.javaFile,default:!0,children:(0,u.tZ)(A.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?v:x})}),(0,u.tZ)(s.Z,{value:f?f[1]:"CSS",label:f?f[1]:O.cssFile,children:(0,u.tZ)(A.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:E})})]}):(0,u.tZ)(a.Z,{children:(0,u.tZ)(s.Z,{value:f?f[0]:"Java",label:f?f[0]:O.javaFile,default:!0,children:(0,u.tZ)(A.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?v:x})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(7294),i=n(917),a=n(8230),s=n(4387),o=n(6770);var A=n(5944);function l(e){let{type:t,location:n,top:l,children:c,code:d,suffix:h}=e;const[u,p]=(0,r.useState)("");(0,r.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const g=i.iv` + `;return(0,u.BX)("div",{css:Z,children:["hidden"!=m?(0,u.BX)("div",{onMouseEnter:()=>{H(!0)},onMouseLeave:()=>H(!1),css:X,children:[(0,u.tZ)("div",{css:k,children:(0,u.tZ)(g,{url:t})}),(0,u.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:I})]}):null,(0,u.BX)(o.Z,{css:V,summary:(0,u.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,u.tZ)(p,{collapse:C,setCollapse:j}):null,c?(0,u.BX)(a.Z,{children:[(0,u.tZ)(s.Z,{value:f?f[0]:"Java",label:f?f[0]:O.javaFile,default:!0,children:(0,u.tZ)(A.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?v:x})}),(0,u.tZ)(s.Z,{value:f?f[1]:"CSS",label:f?f[1]:O.cssFile,children:(0,u.tZ)(A.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:E})})]}):(0,u.tZ)(a.Z,{children:(0,u.tZ)(s.Z,{value:f?f[0]:"Java",label:f?f[0]:O.javaFile,default:!0,children:(0,u.tZ)(A.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?v:x})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(7294),i=n(917),a=n(8230),s=n(4387),o=n(6770);var A=n(5944);function l(e){let{type:t,location:n,top:l,children:c,code:d,suffix:h}=e;const[u,p]=(0,r.useState)("");(0,r.useEffect)((()=>{h||(h=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const g=i.iv` display: inline; ${l&&i.iv` diff --git a/assets/js/44a2ffa8.fa4abb0f.js b/assets/js/44a2ffa8.610f66d0.js similarity index 99% rename from assets/js/44a2ffa8.fa4abb0f.js rename to assets/js/44a2ffa8.610f66d0.js index b5753950f..5ab7e6240 100644 --- a/assets/js/44a2ffa8.fa4abb0f.js +++ b/assets/js/44a2ffa8.610f66d0.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${Z&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:S,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{k(!0)},onMouseLeave:()=>k(!1),css:H,children:[(0,m.tZ)("div",{css:M,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,m.BX)(l.Z,{css:L,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[i&&c?(0,m.tZ)(p,{collapse:D,setCollapse:B}):null,d?(0,m.BX)(a.Z,{children:[(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?v:w})}),(0,m.tZ)(r.Z,{value:f?f[1]:"CSS",label:f?f[1]:F.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(a.Z,{children:(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?v:w})})})]})]})}},3273:(e,t,i)=>{i.d(t,{Z:()=>c});var n=i(7294),s=i(917),a=i(8230),r=i(4387),l=i(6770);var o=i(5944);function c(e){let{type:t,location:i,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,n.useState)("");(0,n.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+i+".html"+u)}),[]);const A=s.iv` + `;return(0,m.BX)("div",{css:S,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{k(!0)},onMouseLeave:()=>k(!1),css:H,children:[(0,m.tZ)("div",{css:M,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,m.BX)(l.Z,{css:L,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[i&&c?(0,m.tZ)(p,{collapse:D,setCollapse:B}):null,d?(0,m.BX)(a.Z,{children:[(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?v:w})}),(0,m.tZ)(r.Z,{value:f?f[1]:"CSS",label:f?f[1]:F.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(a.Z,{children:(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?v:w})})})]})]})}},3273:(e,t,i)=>{i.d(t,{Z:()=>c});var n=i(7294),s=i(917),a=i(8230),r=i(4387),l=i(6770);var o=i(5944);function c(e){let{type:t,location:i,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,n.useState)("");(0,n.useEffect)((()=>{u||(u=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+i+".html"+u)}),[]);const A=s.iv` display: inline; ${c&&s.iv` diff --git a/assets/js/47f3d74a.444f0fa8.js b/assets/js/47f3d74a.43b513e9.js similarity index 99% rename from assets/js/47f3d74a.444f0fa8.js rename to assets/js/47f3d74a.43b513e9.js index 6e61ab614..db6c5860e 100644 --- a/assets/js/47f3d74a.444f0fa8.js +++ b/assets/js/47f3d74a.43b513e9.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${F&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:S,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:M,children:[(0,m.tZ)("div",{css:H,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,m.BX)(l.Z,{css:L,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[i&&d?(0,m.tZ)(p,{collapse:T,setCollapse:B}):null,c?(0,m.BX)(s.Z,{children:[(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:k.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?v:w})}),(0,m.tZ)(r.Z,{value:f?f[1]:"CSS",label:f?f[1]:k.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:D})})]}):(0,m.tZ)(s.Z,{children:(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:k.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?v:w})})})]})]})}},3273:(e,t,i)=>{i.d(t,{Z:()=>d});var n=i(7294),a=i(917),s=i(8230),r=i(4387),l=i(6770);var o=i(5944);function d(e){let{type:t,location:i,top:d,children:c,code:h,suffix:u}=e;const[m,p]=(0,n.useState)("");(0,n.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+i+".html"+u)}),[]);const A=a.iv` + `;return(0,m.BX)("div",{css:S,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:M,children:[(0,m.tZ)("div",{css:H,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,m.BX)(l.Z,{css:L,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[i&&d?(0,m.tZ)(p,{collapse:T,setCollapse:B}):null,c?(0,m.BX)(s.Z,{children:[(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:k.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?v:w})}),(0,m.tZ)(r.Z,{value:f?f[1]:"CSS",label:f?f[1]:k.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:D})})]}):(0,m.tZ)(s.Z,{children:(0,m.tZ)(r.Z,{value:f?f[0]:"Java",label:f?f[0]:k.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:T?v:w})})})]})]})}},3273:(e,t,i)=>{i.d(t,{Z:()=>d});var n=i(7294),a=i(917),s=i(8230),r=i(4387),l=i(6770);var o=i(5944);function d(e){let{type:t,location:i,top:d,children:c,code:h,suffix:u}=e;const[m,p]=(0,n.useState)("");(0,n.useEffect)((()=>{u||(u=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+i+".html"+u)}),[]);const A=a.iv` display: inline; ${d&&a.iv` diff --git a/assets/js/4eb8144b.2453d1e3.js b/assets/js/4eb8144b.4d28e4d6.js similarity index 99% rename from assets/js/4eb8144b.2453d1e3.js rename to assets/js/4eb8144b.4d28e4d6.js index 929187298..0bd475c8a 100644 --- a/assets/js/4eb8144b.2453d1e3.js +++ b/assets/js/4eb8144b.4d28e4d6.js @@ -102,7 +102,7 @@ transition: opacity 0.3s ease-in-out; ${k&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:L,children:["hidden"!=g?(0,p.BX)("div",{onMouseEnter:()=>{S(!0)},onMouseLeave:()=>S(!1),css:M,children:[(0,p.tZ)("div",{css:N,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,p.BX)(a.Z,{css:O,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,p.tZ)(m,{collapse:B,setCollapse:D}):null,d?(0,p.BX)(i.Z,{children:[(0,p.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})}),(0,p.tZ)(r.Z,{value:w?w[1]:"CSS",label:w?w[1]:Z.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),s=n(917),i=n(8230),r=n(4387),a=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` + `;return(0,p.BX)("div",{css:L,children:["hidden"!=g?(0,p.BX)("div",{onMouseEnter:()=>{S(!0)},onMouseLeave:()=>S(!1),css:M,children:[(0,p.tZ)("div",{css:N,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,p.BX)(a.Z,{css:O,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,p.tZ)(m,{collapse:B,setCollapse:D}):null,d?(0,p.BX)(i.Z,{children:[(0,p.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})}),(0,p.tZ)(r.Z,{value:w?w[1]:"CSS",label:w?w[1]:Z.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),s=n(917),i=n(8230),r=n(4387),a=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` display: inline; ${c&&s.iv` diff --git a/assets/js/5510d6bc.d39c729d.js b/assets/js/5510d6bc.3e7e9541.js similarity index 97% rename from assets/js/5510d6bc.d39c729d.js rename to assets/js/5510d6bc.3e7e9541.js index 722ceaa5e..7cc575804 100644 --- a/assets/js/5510d6bc.d39c729d.js +++ b/assets/js/5510d6bc.3e7e9541.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[6020],{5006:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>v,frontMatter:()=>o,metadata:()=>r,toc:()=>d});var c=n(5893),s=n(1151),i=n(3273);const o={sidebar_position:0,title:"CheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"CheckEvent"},a=void 0,r={id:"components/events/check-event",title:"CheckEvent",description:'A "check" event occurs when an element or checkbox is selected or marked as "checked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element with a "checked" state. It typically indicates that the associated action or state has been enabled or activated. This class also inherits methods from the base Event class.',source:"@site/docs/components/events/check-event.md",sourceDirName:"components/events",slug:"/components/events/CheckEvent",permalink:"/docs/components/events/CheckEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/check-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"CheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"CheckEvent"},sidebar:"documentationSidebar",previous:{title:"ButtonClickEvent",permalink:"/docs/components/events/ButtonClickEvent"},next:{title:"ListClickEvent",permalink:"/docs/components/events/ListClickEvent"}},l={},d=[{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/CheckEvent",top:"true"}),"\n",(0,c.jsxs)(t.p,{children:['A "check" event occurs when an element or checkbox is selected or marked as "checked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element with a "checked" state. It typically indicates that the associated action or state has been enabled or activated. This class also inherits methods from the base ',(0,c.jsx)(t.code,{children:"Event"})," class."]}),"\n",(0,c.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,c.jsxs)(t.ul,{children:["\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./UncheckEvent",children:"Uncheck Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./ToggleEvent",children:"Toggle Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../checkbox",children:"CheckBox"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../radiobutton",children:"RadioButton"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var c=n(7294),s=n(917),i=n(8230),o=n(4387),a=n(6770);var r=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:v}=e;const[u,m]=(0,c.useState)("");(0,c.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const k=s.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[6020],{5006:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>v,frontMatter:()=>o,metadata:()=>r,toc:()=>d});var c=n(5893),s=n(1151),i=n(3273);const o={sidebar_position:0,title:"CheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"CheckEvent"},a=void 0,r={id:"components/events/check-event",title:"CheckEvent",description:'A "check" event occurs when an element or checkbox is selected or marked as "checked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element with a "checked" state. It typically indicates that the associated action or state has been enabled or activated. This class also inherits methods from the base Event class.',source:"@site/docs/components/events/check-event.md",sourceDirName:"components/events",slug:"/components/events/CheckEvent",permalink:"/docs/components/events/CheckEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/check-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"CheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"CheckEvent"},sidebar:"documentationSidebar",previous:{title:"ButtonClickEvent",permalink:"/docs/components/events/ButtonClickEvent"},next:{title:"ListClickEvent",permalink:"/docs/components/events/ListClickEvent"}},l={},d=[{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/CheckEvent",top:"true"}),"\n",(0,c.jsxs)(t.p,{children:['A "check" event occurs when an element or checkbox is selected or marked as "checked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element with a "checked" state. It typically indicates that the associated action or state has been enabled or activated. This class also inherits methods from the base ',(0,c.jsx)(t.code,{children:"Event"})," class."]}),"\n",(0,c.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,c.jsxs)(t.ul,{children:["\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./UncheckEvent",children:"Uncheck Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./ToggleEvent",children:"Toggle Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../checkbox",children:"CheckBox"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../radiobutton",children:"RadioButton"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var c=n(7294),s=n(917),i=n(8230),o=n(4387),a=n(6770);var r=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:v}=e;const[u,m]=(0,c.useState)("");(0,c.useEffect)((()=>{v||(v=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const k=s.iv` display: inline; ${l&&s.iv` diff --git a/assets/js/559b7fc6.061bdd9b.js b/assets/js/559b7fc6.392bc949.js similarity index 99% rename from assets/js/559b7fc6.061bdd9b.js rename to assets/js/559b7fc6.392bc949.js index 7dea5d80a..f3091ff8b 100644 --- a/assets/js/559b7fc6.061bdd9b.js +++ b/assets/js/559b7fc6.392bc949.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${C&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:L,children:["hidden"!=A?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:T,children:[(0,m.tZ)("div",{css:N,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:J})]}):null,(0,m.BX)(i.Z,{css:P,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[r&&c?(0,m.tZ)(p,{collapse:B,setCollapse:S}):null,d?(0,m.BX)(n.Z,{children:[(0,m.tZ)(o.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?w:f})}),(0,m.tZ)(o.Z,{value:v?v[1]:"CSS",label:v?v[1]:k.cssFile,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(n.Z,{children:(0,m.tZ)(o.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?w:f})})})]})]})}},3273:(e,t,r)=>{r.d(t,{Z:()=>c});var a=r(7294),s=r(917),n=r(8230),o=r(4387),i=r(6770);var l=r(5944);function c(e){let{type:t,location:r,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,a.useState)("");(0,a.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+r+".html"+h)}),[]);const b=s.iv` + `;return(0,m.BX)("div",{css:L,children:["hidden"!=A?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:T,children:[(0,m.tZ)("div",{css:N,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:J})]}):null,(0,m.BX)(i.Z,{css:P,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[r&&c?(0,m.tZ)(p,{collapse:B,setCollapse:S}):null,d?(0,m.BX)(n.Z,{children:[(0,m.tZ)(o.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?w:f})}),(0,m.tZ)(o.Z,{value:v?v[1]:"CSS",label:v?v[1]:k.cssFile,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(n.Z,{children:(0,m.tZ)(o.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?w:f})})})]})]})}},3273:(e,t,r)=>{r.d(t,{Z:()=>c});var a=r(7294),s=r(917),n=r(8230),o=r(4387),i=r(6770);var l=r(5944);function c(e){let{type:t,location:r,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,a.useState)("");(0,a.useEffect)((()=>{h||(h=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+r+".html"+h)}),[]);const b=s.iv` display: inline; ${c&&s.iv` diff --git a/assets/js/56ad8461.e93abb23.js b/assets/js/56ad8461.08b7b3d0.js similarity index 99% rename from assets/js/56ad8461.e93abb23.js rename to assets/js/56ad8461.08b7b3d0.js index 14c0c5cd7..f7d95c209 100644 --- a/assets/js/56ad8461.e93abb23.js +++ b/assets/js/56ad8461.08b7b3d0.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${Z&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:k,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:M,children:[(0,m.tZ)("div",{css:N,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,m.BX)(l.Z,{css:H,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:D,setCollapse:E}):null,d?(0,m.BX)(r.Z,{children:[(0,m.tZ)(i.Z,{value:A?A[0]:"Java",label:A?A[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?x:f})}),(0,m.tZ)(i.Z,{value:A?A[1]:"CSS",label:A?A[1]:C.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(r.Z,{children:(0,m.tZ)(i.Z,{value:A?A[0]:"Java",label:A?A[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?x:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),s=n(917),r=n(8230),i=n(4387),l=n(6770);var o=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,a.useState)("");(0,a.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` + `;return(0,m.BX)("div",{css:k,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:M,children:[(0,m.tZ)("div",{css:N,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,m.BX)(l.Z,{css:H,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:D,setCollapse:E}):null,d?(0,m.BX)(r.Z,{children:[(0,m.tZ)(i.Z,{value:A?A[0]:"Java",label:A?A[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?x:f})}),(0,m.tZ)(i.Z,{value:A?A[1]:"CSS",label:A?A[1]:C.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(r.Z,{children:(0,m.tZ)(i.Z,{value:A?A[0]:"Java",label:A?A[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?x:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),s=n(917),r=n(8230),i=n(4387),l=n(6770);var o=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,a.useState)("");(0,a.useEffect)((()=>{u||(u=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` display: inline; ${c&&s.iv` diff --git a/assets/js/693028f3.dc3bd061.js b/assets/js/693028f3.d2484754.js similarity index 97% rename from assets/js/693028f3.dc3bd061.js rename to assets/js/693028f3.d2484754.js index 888b268f4..8635e5ace 100644 --- a/assets/js/693028f3.dc3bd061.js +++ b/assets/js/693028f3.d2484754.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3779],{8727:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var s=n(5893),i=n(1151),o=n(3273);const a={sidebar_position:0,title:"BlurEvent",sidebar_class_name:"sidebar--item__hidden",slug:"BlurEvent"},l=void 0,r={id:"components/events/blur-event",title:"BlurEvent",description:"An event that is triggered when an element loses focus. It occurs when the user interacts with an element, such as clicking inside an input field, and then moves the focus away from that element, typically by clicking outside of it or tabbing to another element on the page. This event is useful when you want to detect when a user moves away from a particular element on a web page, such as an input field or a button. This class also inherits methods from the base Event class.",source:"@site/docs/components/events/blur-event.md",sourceDirName:"components/events",slug:"/components/events/BlurEvent",permalink:"/docs/components/events/BlurEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/blur-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"BlurEvent",sidebar_class_name:"sidebar--item__hidden",slug:"BlurEvent"},sidebar:"documentationSidebar",previous:{title:"Event",permalink:"/docs/components/events/event"},next:{title:"ButtonClickEvent",permalink:"/docs/components/events/ButtonClickEvent"}},c={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{type:"engine",location:"org/dwcj/component/event/BlurEvent",top:"true"}),"\n",(0,s.jsxs)(t.p,{children:["An event that is triggered when an element loses focus. It occurs when the user interacts with an element, such as clicking inside an input field, and then moves the focus away from that element, typically by clicking outside of it or tabbing to another element on the page. This event is useful when you want to detect when a user moves away from a particular element on a web page, such as an input field or a button. This class also inherits methods from the base ",(0,s.jsx)(t.code,{children:"Event"})," class."]}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getText()"})}),(0,s.jsx)(t.td,{children:"Gets the text of the component."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isClientValidationValid()"})}),(0,s.jsx)(t.td,{children:"Returns the result of the client validation function, if any, when the component loses focus."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./FocusEvent",children:"Focus Event"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var s=n(7294),i=n(917),o=n(8230),a=n(4387),l=n(6770);var r=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[v,m]=(0,s.useState)("");(0,s.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const p=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3779],{8727:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var s=n(5893),i=n(1151),o=n(3273);const a={sidebar_position:0,title:"BlurEvent",sidebar_class_name:"sidebar--item__hidden",slug:"BlurEvent"},l=void 0,r={id:"components/events/blur-event",title:"BlurEvent",description:"An event that is triggered when an element loses focus. It occurs when the user interacts with an element, such as clicking inside an input field, and then moves the focus away from that element, typically by clicking outside of it or tabbing to another element on the page. This event is useful when you want to detect when a user moves away from a particular element on a web page, such as an input field or a button. This class also inherits methods from the base Event class.",source:"@site/docs/components/events/blur-event.md",sourceDirName:"components/events",slug:"/components/events/BlurEvent",permalink:"/docs/components/events/BlurEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/blur-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"BlurEvent",sidebar_class_name:"sidebar--item__hidden",slug:"BlurEvent"},sidebar:"documentationSidebar",previous:{title:"Event",permalink:"/docs/components/events/event"},next:{title:"ButtonClickEvent",permalink:"/docs/components/events/ButtonClickEvent"}},c={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{type:"engine",location:"org/dwcj/component/event/BlurEvent",top:"true"}),"\n",(0,s.jsxs)(t.p,{children:["An event that is triggered when an element loses focus. It occurs when the user interacts with an element, such as clicking inside an input field, and then moves the focus away from that element, typically by clicking outside of it or tabbing to another element on the page. This event is useful when you want to detect when a user moves away from a particular element on a web page, such as an input field or a button. This class also inherits methods from the base ",(0,s.jsx)(t.code,{children:"Event"})," class."]}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getText()"})}),(0,s.jsx)(t.td,{children:"Gets the text of the component."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isClientValidationValid()"})}),(0,s.jsx)(t.td,{children:"Returns the result of the client validation function, if any, when the component loses focus."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./FocusEvent",children:"Focus Event"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var s=n(7294),i=n(917),o=n(8230),a=n(4387),l=n(6770);var r=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[v,m]=(0,s.useState)("");(0,s.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const p=i.iv` display: inline; ${c&&i.iv` diff --git a/assets/js/6da97851.356cb3c9.js b/assets/js/6da97851.fb1dcc06.js similarity index 96% rename from assets/js/6da97851.356cb3c9.js rename to assets/js/6da97851.fb1dcc06.js index e93b5005f..b9a7bcd38 100644 --- a/assets/js/6da97851.356cb3c9.js +++ b/assets/js/6da97851.fb1dcc06.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[9583],{4486:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>v,frontMatter:()=>l,metadata:()=>r,toc:()=>d});var s=n(5893),i=n(1151),o=n(3273);const l={sidebar_position:0,title:"ListCloseEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListCloseEvent"},c=void 0,r={id:"components/events/list-close-event",title:"ListCloseEvent",description:"This event inherits from the ListEvent class, and is triggered when the user closes a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/list-close-event.md",sourceDirName:"components/events",slug:"/components/events/ListCloseEvent",permalink:"/docs/components/events/ListCloseEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-close-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListCloseEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListCloseEvent"},sidebar:"documentationSidebar",previous:{title:"KeypressEvent",permalink:"/docs/components/events/KeypressEvent"},next:{title:"ListEvent",permalink:"/docs/components/events/ListEvent"}},a={},d=[{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{type:"engine",location:"org/dwcj/component/event/ListCloseEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event inherits from the ListEvent class, and is triggered when the user closes a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListOpenEvent",children:"ListOpenEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListSelectEvent",children:"ListSelectEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(7294),i=n(917),o=n(8230),l=n(4387),c=n(6770);var r=n(5944);function a(e){let{type:t,location:n,top:a,children:d,code:h,suffix:v}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const u=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[9583],{4486:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>v,frontMatter:()=>l,metadata:()=>r,toc:()=>d});var s=n(5893),i=n(1151),o=n(3273);const l={sidebar_position:0,title:"ListCloseEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListCloseEvent"},c=void 0,r={id:"components/events/list-close-event",title:"ListCloseEvent",description:"This event inherits from the ListEvent class, and is triggered when the user closes a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/list-close-event.md",sourceDirName:"components/events",slug:"/components/events/ListCloseEvent",permalink:"/docs/components/events/ListCloseEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-close-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListCloseEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListCloseEvent"},sidebar:"documentationSidebar",previous:{title:"KeypressEvent",permalink:"/docs/components/events/KeypressEvent"},next:{title:"ListEvent",permalink:"/docs/components/events/ListEvent"}},a={},d=[{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{type:"engine",location:"org/dwcj/component/event/ListCloseEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event inherits from the ListEvent class, and is triggered when the user closes a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListOpenEvent",children:"ListOpenEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListSelectEvent",children:"ListSelectEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(7294),i=n(917),o=n(8230),l=n(4387),c=n(6770);var r=n(5944);function a(e){let{type:t,location:n,top:a,children:d,code:h,suffix:v}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{v||(v=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const u=i.iv` display: inline; ${a&&i.iv` diff --git a/assets/js/700cec1a.bcd2fcad.js b/assets/js/700cec1a.ffaaae31.js similarity index 99% rename from assets/js/700cec1a.bcd2fcad.js rename to assets/js/700cec1a.ffaaae31.js index f3672f56c..f5f183f51 100644 --- a/assets/js/700cec1a.bcd2fcad.js +++ b/assets/js/700cec1a.ffaaae31.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${k&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:R,children:["hidden"!=v?(0,p.BX)("div",{onMouseEnter:()=>{C(!0)},onMouseLeave:()=>C(!1),css:N,children:[(0,p.tZ)("div",{css:T,children:(0,p.tZ)(g,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:G})]}):null,(0,p.BX)(s.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,p.tZ)(m,{collapse:D,setCollapse:Z}):null,d?(0,p.BX)(a.Z,{children:[(0,p.tZ)(i.Z,{value:b?b[0]:"Java",label:b?b[0]:E.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?f:w})}),(0,p.tZ)(i.Z,{value:b?b[1]:"CSS",label:b?b[1]:E.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:B})})]}):(0,p.tZ)(a.Z,{children:(0,p.tZ)(i.Z,{value:b?b[0]:"Java",label:b?b[0]:E.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?f:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),r=n(917),a=n(8230),i=n(4387),s=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const g=r.iv` + `;return(0,p.BX)("div",{css:R,children:["hidden"!=v?(0,p.BX)("div",{onMouseEnter:()=>{C(!0)},onMouseLeave:()=>C(!1),css:N,children:[(0,p.tZ)("div",{css:T,children:(0,p.tZ)(g,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:G})]}):null,(0,p.BX)(s.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,p.tZ)(m,{collapse:D,setCollapse:Z}):null,d?(0,p.BX)(a.Z,{children:[(0,p.tZ)(i.Z,{value:b?b[0]:"Java",label:b?b[0]:E.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?f:w})}),(0,p.tZ)(i.Z,{value:b?b[1]:"CSS",label:b?b[1]:E.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:B})})]}):(0,p.tZ)(a.Z,{children:(0,p.tZ)(i.Z,{value:b?b[0]:"Java",label:b?b[0]:E.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?f:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),r=n(917),a=n(8230),i=n(4387),s=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{h||(h=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const g=r.iv` display: inline; ${c&&r.iv` diff --git a/assets/js/76eefc0f.d53e0d9c.js b/assets/js/76eefc0f.5c007295.js similarity index 97% rename from assets/js/76eefc0f.d53e0d9c.js rename to assets/js/76eefc0f.5c007295.js index 4f5e59a3b..a9bc476c8 100644 --- a/assets/js/76eefc0f.d53e0d9c.js +++ b/assets/js/76eefc0f.5c007295.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[4718],{7335:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>c,default:()=>p,frontMatter:()=>o,metadata:()=>d,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const o={sidebar_position:0,title:"ListOpenEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListOpenEvent"},c=void 0,d={id:"components/events/list-open-event",title:"ListOpenEvent",description:"This event is triggered when the user opens a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/list-open-event.md",sourceDirName:"components/events",slug:"/components/events/ListOpenEvent",permalink:"/docs/components/events/ListOpenEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-open-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListOpenEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListOpenEvent"},sidebar:"documentationSidebar",previous:{title:"ListEvent",permalink:"/docs/components/events/ListEvent"},next:{title:"ListSelectEvent",permalink:"/docs/components/events/ListSelectEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListOpenEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is triggered when the user opens a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListCloseEvent",children:"ListCloseEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListSelectEvent",children:"ListSelectEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n"]})]})}function p(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),o=n(4387),c=n(6770);var d=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:p}=e;const[v,m]=(0,s.useState)("");(0,s.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+p)}),[]);const x=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[4718],{7335:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>c,default:()=>p,frontMatter:()=>o,metadata:()=>d,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const o={sidebar_position:0,title:"ListOpenEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListOpenEvent"},c=void 0,d={id:"components/events/list-open-event",title:"ListOpenEvent",description:"This event is triggered when the user opens a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/list-open-event.md",sourceDirName:"components/events",slug:"/components/events/ListOpenEvent",permalink:"/docs/components/events/ListOpenEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-open-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListOpenEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListOpenEvent"},sidebar:"documentationSidebar",previous:{title:"ListEvent",permalink:"/docs/components/events/ListEvent"},next:{title:"ListSelectEvent",permalink:"/docs/components/events/ListSelectEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListOpenEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is triggered when the user opens a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListCloseEvent",children:"ListCloseEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListSelectEvent",children:"ListSelectEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n"]})]})}function p(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),o=n(4387),c=n(6770);var d=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:p}=e;const[v,m]=(0,s.useState)("");(0,s.useEffect)((()=>{p||(p=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+p)}),[]);const x=i.iv` display: inline; ${r&&i.iv` diff --git a/assets/js/79697695.1fa1644b.js b/assets/js/79697695.02ba1ba4.js similarity index 99% rename from assets/js/79697695.1fa1644b.js rename to assets/js/79697695.02ba1ba4.js index 14cbd339f..62bffcce6 100644 --- a/assets/js/79697695.1fa1644b.js +++ b/assets/js/79697695.02ba1ba4.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${D&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:C,children:["hidden"!=b?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:N,children:[(0,p.tZ)("div",{css:H,children:(0,p.tZ)(x,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,p.BX)(a.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&d?(0,p.tZ)(m,{collapse:F,setCollapse:k}):null,c?(0,p.BX)(r.Z,{children:[(0,p.tZ)(l.Z,{value:g?g[0]:"Java",label:g?g[0]:Z.javaFile,default:!0,children:(0,p.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:F?v:w})}),(0,p.tZ)(l.Z,{value:g?g[1]:"CSS",label:g?g[1]:Z.cssFile,children:(0,p.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(r.Z,{children:(0,p.tZ)(l.Z,{value:g?g[0]:"Java",label:g?g[0]:Z.javaFile,default:!0,children:(0,p.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:F?v:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>d});var i=n(7294),s=n(917),r=n(8230),l=n(4387),a=n(6770);var o=n(5944);function d(e){let{type:t,location:n,top:d,children:c,code:h,suffix:u}=e;const[p,m]=(0,i.useState)("");(0,i.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const x=s.iv` + `;return(0,p.BX)("div",{css:C,children:["hidden"!=b?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:N,children:[(0,p.tZ)("div",{css:H,children:(0,p.tZ)(x,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,p.BX)(a.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&d?(0,p.tZ)(m,{collapse:F,setCollapse:k}):null,c?(0,p.BX)(r.Z,{children:[(0,p.tZ)(l.Z,{value:g?g[0]:"Java",label:g?g[0]:Z.javaFile,default:!0,children:(0,p.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:F?v:w})}),(0,p.tZ)(l.Z,{value:g?g[1]:"CSS",label:g?g[1]:Z.cssFile,children:(0,p.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(r.Z,{children:(0,p.tZ)(l.Z,{value:g?g[0]:"Java",label:g?g[0]:Z.javaFile,default:!0,children:(0,p.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:F?v:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>d});var i=n(7294),s=n(917),r=n(8230),l=n(4387),a=n(6770);var o=n(5944);function d(e){let{type:t,location:n,top:d,children:c,code:h,suffix:u}=e;const[p,m]=(0,i.useState)("");(0,i.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const x=s.iv` display: inline; ${d&&s.iv` diff --git a/assets/js/7c7204eb.41f6d30c.js b/assets/js/7c7204eb.ca2f4fd9.js similarity index 98% rename from assets/js/7c7204eb.41f6d30c.js rename to assets/js/7c7204eb.ca2f4fd9.js index 5f5c01c4c..edda43de6 100644 --- a/assets/js/7c7204eb.41f6d30c.js +++ b/assets/js/7c7204eb.ca2f4fd9.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3574],{8287:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>d,default:()=>v,frontMatter:()=>o,metadata:()=>c,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const o={sidebar_position:0,title:"ListEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListEvent"},d=void 0,c={id:"components/events/list-event",title:"ListEvent",description:"This event is the base class for List-based component related events. inherited methods will provide essential information about the selected item and allow developers to implement custom actions or responses when an inherited event is fired.",source:"@site/docs/components/events/list-event.md",sourceDirName:"components/events",slug:"/components/events/ListEvent",permalink:"/docs/components/events/ListEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListEvent"},sidebar:"documentationSidebar",previous:{title:"ListCloseEvent",permalink:"/docs/components/events/ListCloseEvent"},next:{title:"ListOpenEvent",permalink:"/docs/components/events/ListOpenEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is the base class for List-based component related events. inherited methods will provide essential information about the selected item and allow developers to implement custom actions or responses when an inherited event is fired."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListOpenEvent",children:"ListOpenEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListCloseEvent",children:"ListCloseEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListSelectEvent",children:"ListSelectEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ListBox",children:"ListBox"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),o=n(4387),d=n(6770);var c=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:v}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const x=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3574],{8287:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>d,default:()=>v,frontMatter:()=>o,metadata:()=>c,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const o={sidebar_position:0,title:"ListEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListEvent"},d=void 0,c={id:"components/events/list-event",title:"ListEvent",description:"This event is the base class for List-based component related events. inherited methods will provide essential information about the selected item and allow developers to implement custom actions or responses when an inherited event is fired.",source:"@site/docs/components/events/list-event.md",sourceDirName:"components/events",slug:"/components/events/ListEvent",permalink:"/docs/components/events/ListEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListEvent"},sidebar:"documentationSidebar",previous:{title:"ListCloseEvent",permalink:"/docs/components/events/ListCloseEvent"},next:{title:"ListOpenEvent",permalink:"/docs/components/events/ListOpenEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is the base class for List-based component related events. inherited methods will provide essential information about the selected item and allow developers to implement custom actions or responses when an inherited event is fired."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListOpenEvent",children:"ListOpenEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListCloseEvent",children:"ListCloseEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListSelectEvent",children:"ListSelectEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ListBox",children:"ListBox"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),o=n(4387),d=n(6770);var c=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:v}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{v||(v=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const x=i.iv` display: inline; ${r&&i.iv` diff --git a/assets/js/7f7b6a5a.b4d9b2ac.js b/assets/js/7f7b6a5a.a3d5ef0e.js similarity index 95% rename from assets/js/7f7b6a5a.b4d9b2ac.js rename to assets/js/7f7b6a5a.a3d5ef0e.js index 80f3cf760..b54184b72 100644 --- a/assets/js/7f7b6a5a.b4d9b2ac.js +++ b/assets/js/7f7b6a5a.a3d5ef0e.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[2616],{4519:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>r,toc:()=>l});var c=n(5893),s=n(1151),i=n(3273);const o={sidebar_position:0,title:"UncheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"UncheckEvent",pagination_next:null},a=void 0,r={id:"components/events/uncheck-event",title:"UncheckEvent",description:'An "uncheck" event occurs when an element or checkbox is deselected or marked as "unchecked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element to remove the "checked" state. It usually indicates that the associated action or state has been disabled or deactivated. This class also inherits methods from the base Event class',source:"@site/docs/components/events/uncheck-event.md",sourceDirName:"components/events",slug:"/components/events/UncheckEvent",permalink:"/docs/components/events/UncheckEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/uncheck-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"UncheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"UncheckEvent",pagination_next:null},sidebar:"documentationSidebar",previous:{title:"ToggleEvent",permalink:"/docs/components/events/ToggleEvent"}},d={},l=[{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/UncheckEvent",top:"true"}),"\n",(0,c.jsxs)(t.p,{children:['An "uncheck" event occurs when an element or checkbox is deselected or marked as "unchecked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element to remove the "checked" state. It usually indicates that the associated action or state has been disabled or deactivated. This class also inherits methods from the ',(0,c.jsxs)(t.a,{href:"./event",children:["base ",(0,c.jsx)(t.code,{children:"Event"})," class"]})]}),"\n",(0,c.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,c.jsxs)(t.ul,{children:["\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./CheckEvent",children:"Check Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./ToggleEvent",children:"Toggle Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../checkbox",children:"CheckBox"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../radiobutton",children:"RadioButton"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>d});var c=n(7294),s=n(917),i=n(8230),o=n(4387),a=n(6770);var r=n(5944);function d(e){let{type:t,location:n,top:d,children:l,code:h,suffix:u}=e;const[v,m]=(0,c.useState)("");(0,c.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const p=s.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[2616],{4519:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>r,toc:()=>l});var c=n(5893),s=n(1151),i=n(3273);const o={sidebar_position:0,title:"UncheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"UncheckEvent",pagination_next:null},a=void 0,r={id:"components/events/uncheck-event",title:"UncheckEvent",description:'An "uncheck" event occurs when an element or checkbox is deselected or marked as "unchecked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element to remove the "checked" state. It usually indicates that the associated action or state has been disabled or deactivated. This class also inherits methods from the base Event class',source:"@site/docs/components/events/uncheck-event.md",sourceDirName:"components/events",slug:"/components/events/UncheckEvent",permalink:"/docs/components/events/UncheckEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/uncheck-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"UncheckEvent",sidebar_class_name:"sidebar--item__hidden",slug:"UncheckEvent",pagination_next:null},sidebar:"documentationSidebar",previous:{title:"ToggleEvent",permalink:"/docs/components/events/ToggleEvent"}},d={},l=[{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/UncheckEvent",top:"true"}),"\n",(0,c.jsxs)(t.p,{children:['An "uncheck" event occurs when an element or checkbox is deselected or marked as "unchecked." This event is triggered when a user interacts with a checkbox, radio button, or any other form element to remove the "checked" state. It usually indicates that the associated action or state has been disabled or deactivated. This class also inherits methods from the ',(0,c.jsxs)(t.a,{href:"./event",children:["base ",(0,c.jsx)(t.code,{children:"Event"})," class"]})]}),"\n",(0,c.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,c.jsxs)(t.ul,{children:["\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./CheckEvent",children:"Check Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"./ToggleEvent",children:"Toggle Event"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../checkbox",children:"CheckBox"})}),"\n",(0,c.jsx)(t.li,{children:(0,c.jsx)(t.a,{href:"../radiobutton",children:"RadioButton"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>d});var c=n(7294),s=n(917),i=n(8230),o=n(4387),a=n(6770);var r=n(5944);function d(e){let{type:t,location:n,top:d,children:l,code:h,suffix:u}=e;const[v,m]=(0,c.useState)("");(0,c.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const p=s.iv` display: inline; ${d&&s.iv` diff --git a/assets/js/87878b99.5010eb27.js b/assets/js/87878b99.3e2884b4.js similarity index 99% rename from assets/js/87878b99.5010eb27.js rename to assets/js/87878b99.3e2884b4.js index 0d6af413a..a120a69ba 100644 --- a/assets/js/87878b99.5010eb27.js +++ b/assets/js/87878b99.3e2884b4.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${D&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:T,children:["hidden"!=g?(0,p.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:J,children:[(0,p.tZ)("div",{css:F,children:(0,p.tZ)(x,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:L})]}):null,(0,p.BX)(a.Z,{css:N,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,p.tZ)(m,{collapse:C,setCollapse:B}):null,h?(0,p.BX)(i.Z,{children:[(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?j:w})}),(0,p.tZ)(r.Z,{value:v?v[1]:"CSS",label:v?v[1]:E.cssFile,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:k})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?j:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),o=n(917),i=n(8230),r=n(4387),a=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:d,suffix:u}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const x=o.iv` + `;return(0,p.BX)("div",{css:T,children:["hidden"!=g?(0,p.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:J,children:[(0,p.tZ)("div",{css:F,children:(0,p.tZ)(x,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:L})]}):null,(0,p.BX)(a.Z,{css:N,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,p.tZ)(m,{collapse:C,setCollapse:B}):null,h?(0,p.BX)(i.Z,{children:[(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?j:w})}),(0,p.tZ)(r.Z,{value:v?v[1]:"CSS",label:v?v[1]:E.cssFile,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:k})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:C?j:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),o=n(917),i=n(8230),r=n(4387),a=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:d,suffix:u}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const x=o.iv` display: inline; ${l&&o.iv` diff --git a/assets/js/899bab7c.d3ad7d64.js b/assets/js/899bab7c.c2cbfbba.js similarity index 99% rename from assets/js/899bab7c.d3ad7d64.js rename to assets/js/899bab7c.c2cbfbba.js index 6b3764dd7..47ad037f1 100644 --- a/assets/js/899bab7c.d3ad7d64.js +++ b/assets/js/899bab7c.c2cbfbba.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${k&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:L,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{S(!0)},onMouseLeave:()=>S(!1),css:V,children:[(0,m.tZ)("div",{css:M,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,m.BX)(a.Z,{css:O,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:B,setCollapse:D}):null,d?(0,m.BX)(i.Z,{children:[(0,m.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})}),(0,m.tZ)(r.Z,{value:w?w[1]:"CSS",label:w?w[1]:Z.cssFile,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(i.Z,{children:(0,m.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),s=n(917),i=n(8230),r=n(4387),a=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,o.useState)("");(0,o.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` + `;return(0,m.BX)("div",{css:L,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{S(!0)},onMouseLeave:()=>S(!1),css:V,children:[(0,m.tZ)("div",{css:M,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,m.BX)(a.Z,{css:O,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:B,setCollapse:D}):null,d?(0,m.BX)(i.Z,{children:[(0,m.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})}),(0,m.tZ)(r.Z,{value:w?w[1]:"CSS",label:w?w[1]:Z.cssFile,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(i.Z,{children:(0,m.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:Z.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:B?v:A})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),s=n(917),i=n(8230),r=n(4387),a=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,o.useState)("");(0,o.useEffect)((()=>{u||(u=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` display: inline; ${c&&s.iv` diff --git a/assets/js/9df0fb54.3a96d2ca.js b/assets/js/9df0fb54.f85f4104.js similarity index 99% rename from assets/js/9df0fb54.3a96d2ca.js rename to assets/js/9df0fb54.f85f4104.js index b0da8bcc9..0ceb52ea5 100644 --- a/assets/js/9df0fb54.3a96d2ca.js +++ b/assets/js/9df0fb54.f85f4104.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${k&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:L,children:["hidden"!=x?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:N,children:[(0,p.tZ)("div",{css:H,children:(0,p.tZ)(m,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:J})]}):null,(0,p.BX)(l.Z,{css:T,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[a&&c?(0,p.tZ)(A,{collapse:S,setCollapse:Z}):null,d?(0,p.BX)(s.Z,{children:[(0,p.tZ)(o.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:S?v:f})}),(0,p.tZ)(o.Z,{value:g?g[1]:"CSS",label:g?g[1]:C.cssFile,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(s.Z,{children:(0,p.tZ)(o.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:S?v:f})})})]})]})}},3273:(e,t,a)=>{a.d(t,{Z:()=>c});var n=a(7294),r=a(917),s=a(8230),o=a(4387),l=a(6770);var i=a(5944);function c(e){let{type:t,location:a,top:c,children:d,code:u,suffix:h}=e;const[p,A]=(0,n.useState)("");(0,n.useEffect)((()=>{A("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+a+".html"+h)}),[]);const m=r.iv` + `;return(0,p.BX)("div",{css:L,children:["hidden"!=x?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:N,children:[(0,p.tZ)("div",{css:H,children:(0,p.tZ)(m,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:J})]}):null,(0,p.BX)(l.Z,{css:T,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[a&&c?(0,p.tZ)(A,{collapse:S,setCollapse:Z}):null,d?(0,p.BX)(s.Z,{children:[(0,p.tZ)(o.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:S?v:f})}),(0,p.tZ)(o.Z,{value:g?g[1]:"CSS",label:g?g[1]:C.cssFile,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(s.Z,{children:(0,p.tZ)(o.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:S?v:f})})})]})]})}},3273:(e,t,a)=>{a.d(t,{Z:()=>c});var n=a(7294),r=a(917),s=a(8230),o=a(4387),l=a(6770);var i=a(5944);function c(e){let{type:t,location:a,top:c,children:d,code:u,suffix:h}=e;const[p,A]=(0,n.useState)("");(0,n.useEffect)((()=>{h||(h=""),A("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+a+".html"+h)}),[]);const m=r.iv` display: inline; ${c&&r.iv` diff --git a/assets/js/9eb89d33.05538b15.js b/assets/js/9eb89d33.fe508ff7.js similarity index 99% rename from assets/js/9eb89d33.05538b15.js rename to assets/js/9eb89d33.fe508ff7.js index a9dd80cd5..8e4f03336 100644 --- a/assets/js/9eb89d33.05538b15.js +++ b/assets/js/9eb89d33.fe508ff7.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${S&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:T,children:["hidden"!=x?(0,p.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,p.tZ)("div",{css:J,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:L})]}):null,(0,p.BX)(r.Z,{css:z,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,p.tZ)(m,{collapse:D,setCollapse:k}):null,d?(0,p.BX)(i.Z,{children:[(0,p.tZ)(a.Z,{value:v?v[0]:"Java",label:v?v[0]:C.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?j:w})}),(0,p.tZ)(a.Z,{value:v?v[1]:"CSS",label:v?v[1]:C.cssFile,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(a.Z,{value:v?v[0]:"Java",label:v?v[0]:C.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?j:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),o=n(917),i=n(8230),a=n(4387),r=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:u}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=o.iv` + `;return(0,p.BX)("div",{css:T,children:["hidden"!=x?(0,p.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,p.tZ)("div",{css:J,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:L})]}):null,(0,p.BX)(r.Z,{css:z,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,p.tZ)(m,{collapse:D,setCollapse:k}):null,d?(0,p.BX)(i.Z,{children:[(0,p.tZ)(a.Z,{value:v?v[0]:"Java",label:v?v[0]:C.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?j:w})}),(0,p.tZ)(a.Z,{value:v?v[1]:"CSS",label:v?v[1]:C.cssFile,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(a.Z,{value:v?v[0]:"Java",label:v?v[0]:C.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:D?j:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),o=n(917),i=n(8230),a=n(4387),r=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:u}=e;const[p,m]=(0,s.useState)("");(0,s.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=o.iv` display: inline; ${l&&o.iv` diff --git a/assets/js/a980013d.991ace0d.js b/assets/js/a980013d.cc75f9d6.js similarity index 98% rename from assets/js/a980013d.991ace0d.js rename to assets/js/a980013d.cc75f9d6.js index 5c22b1f63..ffb275d1a 100644 --- a/assets/js/a980013d.991ace0d.js +++ b/assets/js/a980013d.cc75f9d6.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[1205],{7750:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>d,default:()=>x,frontMatter:()=>o,metadata:()=>c,toc:()=>h});var s=n(5893),i=n(1151),r=n(3273);const o={sidebar_position:0,title:"MouseExitEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseExitEvent"},d=void 0,c={id:"components/events/mouse-exit-event",title:"MouseExitEvent",description:"An event that is triggered when the mouse cursor exits the boundaries of an element. It occurs when the user moves the mouse pointer out of the boundaries of the specified element, indicating that the mouse has exited its area.",source:"@site/docs/components/events/mouse-exit-event.md",sourceDirName:"components/events",slug:"/components/events/MouseExitEvent",permalink:"/docs/components/events/MouseExitEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/mouse-exit-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"MouseExitEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseExitEvent"},sidebar:"documentationSidebar",previous:{title:"MouseEnterEvent",permalink:"/docs/components/events/MouseEnterEvent"},next:{title:"RightMouseDownEvent",permalink:"/docs/components/events/RightMouseDownEvent"}},l={},h=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function a(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/event/MouseExitEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"An event that is triggered when the mouse cursor exits the boundaries of an element. It occurs when the user moves the mouse pointer out of the boundaries of the specified element, indicating that the mouse has exited its area."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getMouseButton()"})}),(0,s.jsx)(t.td,{children:"Returns whether or not a mouse button was pressed while the event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenX()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute abscissa screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenY()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute ordinate screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getX()"})}),(0,s.jsxs)(t.td,{children:["The X coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getY()"})}),(0,s.jsxs)(t.td,{children:["The Y coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isAltDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"alt"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isCmdDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"cmd"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isControlDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"ctrl"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isShiftDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"shift"})," key was pressed at the time this event was generated"]})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseEnterEvent",children:"MouseEnter Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./RightMouseDownEvent",children:"RightMouseDown Event"})}),"\n"]})]})}function x(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),i=n(917),r=n(8230),o=n(4387),d=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:a,suffix:x}=e;const[u,v]=(0,s.useState)("");(0,s.useEffect)((()=>{v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+x)}),[]);const j=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[1205],{7750:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>d,default:()=>x,frontMatter:()=>o,metadata:()=>c,toc:()=>h});var s=n(5893),i=n(1151),r=n(3273);const o={sidebar_position:0,title:"MouseExitEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseExitEvent"},d=void 0,c={id:"components/events/mouse-exit-event",title:"MouseExitEvent",description:"An event that is triggered when the mouse cursor exits the boundaries of an element. It occurs when the user moves the mouse pointer out of the boundaries of the specified element, indicating that the mouse has exited its area.",source:"@site/docs/components/events/mouse-exit-event.md",sourceDirName:"components/events",slug:"/components/events/MouseExitEvent",permalink:"/docs/components/events/MouseExitEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/mouse-exit-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"MouseExitEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseExitEvent"},sidebar:"documentationSidebar",previous:{title:"MouseEnterEvent",permalink:"/docs/components/events/MouseEnterEvent"},next:{title:"RightMouseDownEvent",permalink:"/docs/components/events/RightMouseDownEvent"}},l={},h=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function a(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/event/MouseExitEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"An event that is triggered when the mouse cursor exits the boundaries of an element. It occurs when the user moves the mouse pointer out of the boundaries of the specified element, indicating that the mouse has exited its area."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getMouseButton()"})}),(0,s.jsx)(t.td,{children:"Returns whether or not a mouse button was pressed while the event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenX()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute abscissa screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenY()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute ordinate screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getX()"})}),(0,s.jsxs)(t.td,{children:["The X coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getY()"})}),(0,s.jsxs)(t.td,{children:["The Y coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isAltDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"alt"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isCmdDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"cmd"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isControlDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"ctrl"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isShiftDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"shift"})," key was pressed at the time this event was generated"]})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseEnterEvent",children:"MouseEnter Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./RightMouseDownEvent",children:"RightMouseDown Event"})}),"\n"]})]})}function x(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),i=n(917),r=n(8230),o=n(4387),d=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:a,suffix:x}=e;const[u,v]=(0,s.useState)("");(0,s.useEffect)((()=>{x||(x=""),v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+x)}),[]);const j=i.iv` display: inline; ${l&&i.iv` diff --git a/assets/js/a9bfb29e.8aa9b187.js b/assets/js/a9bfb29e.3653d76e.js similarity index 99% rename from assets/js/a9bfb29e.8aa9b187.js rename to assets/js/a9bfb29e.3653d76e.js index f73a40659..d34a6c78d 100644 --- a/assets/js/a9bfb29e.8aa9b187.js +++ b/assets/js/a9bfb29e.3653d76e.js @@ -102,7 +102,7 @@ transition: opacity 0.3s ease-in-out; ${Z&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:E,children:["hidden"!=w?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:F,children:[(0,p.tZ)("div",{css:M,children:(0,p.tZ)(m,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:T})]}):null,(0,p.BX)(l.Z,{css:N,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[a&&c?(0,p.tZ)(b,{collapse:k,setCollapse:L}):null,d?(0,p.BX)(n.Z,{children:[(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:S.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:k?g:f})}),(0,p.tZ)(r.Z,{value:A?A[1]:"CSS",label:A?A[1]:S.cssFile,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:j})})]}):(0,p.tZ)(n.Z,{children:(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:S.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:k?g:f})})})]})]})}},3273:(e,t,a)=>{a.d(t,{Z:()=>c});var o=a(7294),s=a(917),n=a(8230),r=a(4387),l=a(6770);var i=a(5944);function c(e){let{type:t,location:a,top:c,children:d,code:u,suffix:h}=e;const[p,b]=(0,o.useState)("");(0,o.useEffect)((()=>{b("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+a+".html"+h)}),[]);const m=s.iv` + `;return(0,p.BX)("div",{css:E,children:["hidden"!=w?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:F,children:[(0,p.tZ)("div",{css:M,children:(0,p.tZ)(m,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:T})]}):null,(0,p.BX)(l.Z,{css:N,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[a&&c?(0,p.tZ)(b,{collapse:k,setCollapse:L}):null,d?(0,p.BX)(n.Z,{children:[(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:S.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:k?g:f})}),(0,p.tZ)(r.Z,{value:A?A[1]:"CSS",label:A?A[1]:S.cssFile,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:j})})]}):(0,p.tZ)(n.Z,{children:(0,p.tZ)(r.Z,{value:A?A[0]:"Java",label:A?A[0]:S.javaFile,default:!0,children:(0,p.tZ)(i.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:k?g:f})})})]})]})}},3273:(e,t,a)=>{a.d(t,{Z:()=>c});var o=a(7294),s=a(917),n=a(8230),r=a(4387),l=a(6770);var i=a(5944);function c(e){let{type:t,location:a,top:c,children:d,code:u,suffix:h}=e;const[p,b]=(0,o.useState)("");(0,o.useEffect)((()=>{h||(h=""),b("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+a+".html"+h)}),[]);const m=s.iv` display: inline; ${c&&s.iv` diff --git a/assets/js/ac18fad6.4e05a4ea.js b/assets/js/ac18fad6.62a343cd.js similarity index 96% rename from assets/js/ac18fad6.4e05a4ea.js rename to assets/js/ac18fad6.62a343cd.js index b2db7b343..9189587cb 100644 --- a/assets/js/ac18fad6.4e05a4ea.js +++ b/assets/js/ac18fad6.62a343cd.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[9666],{7160:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>a,toc:()=>d});var i=n(5893),s=n(1151),o=n(3273);const c={sidebar_position:0,title:"FocusEvent",sidebar_class_name:"sidebar--item__hidden",slug:"FocusEvent"},r=void 0,a={id:"components/events/focus-event",title:"FocusEvent",description:"An event that is triggered when an element gains focus, opposite of a blur event. It occurs when the user interacts with an element, typically by clicking inside an input field or navigating to it using the keyboard's tab key, causing the element to become active and ready to receive user input.",source:"@site/docs/components/events/focus-event.md",sourceDirName:"components/events",slug:"/components/events/FocusEvent",permalink:"/docs/components/events/FocusEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/focus-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"FocusEvent",sidebar_class_name:"sidebar--item__hidden",slug:"FocusEvent"},sidebar:"documentationSidebar",previous:{title:"ListClickEvent",permalink:"/docs/components/events/ListClickEvent"},next:{title:"KeypressEvent",permalink:"/docs/components/events/KeypressEvent"}},l={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z,{type:"engine",location:"org/dwcj/component/event/FocusEvent",top:"true"}),"\n",(0,i.jsx)(t.p,{children:"An event that is triggered when an element gains focus, opposite of a blur event. It occurs when the user interacts with an element, typically by clicking inside an input field or navigating to it using the keyboard's tab key, causing the element to become active and ready to receive user input."}),"\n",(0,i.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,i.jsxs)(t.table,{children:[(0,i.jsx)(t.thead,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,i.jsx)(t.th,{children:"Description"})]})}),(0,i.jsx)(t.tbody,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{style:{textAlign:"center"},children:(0,i.jsx)(t.code,{children:"getText()"})}),(0,i.jsx)(t.td,{children:"Gets the text of the component."})]})})]}),"\n",(0,i.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"./BlurEvent",children:"Blur Event"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var i=n(7294),s=n(917),o=n(8230),c=n(4387),r=n(6770);var a=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:u}=e;const[v,p]=(0,i.useState)("");(0,i.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const m=s.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[9666],{7160:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>a,toc:()=>d});var i=n(5893),s=n(1151),o=n(3273);const c={sidebar_position:0,title:"FocusEvent",sidebar_class_name:"sidebar--item__hidden",slug:"FocusEvent"},r=void 0,a={id:"components/events/focus-event",title:"FocusEvent",description:"An event that is triggered when an element gains focus, opposite of a blur event. It occurs when the user interacts with an element, typically by clicking inside an input field or navigating to it using the keyboard's tab key, causing the element to become active and ready to receive user input.",source:"@site/docs/components/events/focus-event.md",sourceDirName:"components/events",slug:"/components/events/FocusEvent",permalink:"/docs/components/events/FocusEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/focus-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"FocusEvent",sidebar_class_name:"sidebar--item__hidden",slug:"FocusEvent"},sidebar:"documentationSidebar",previous:{title:"ListClickEvent",permalink:"/docs/components/events/ListClickEvent"},next:{title:"KeypressEvent",permalink:"/docs/components/events/KeypressEvent"}},l={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z,{type:"engine",location:"org/dwcj/component/event/FocusEvent",top:"true"}),"\n",(0,i.jsx)(t.p,{children:"An event that is triggered when an element gains focus, opposite of a blur event. It occurs when the user interacts with an element, typically by clicking inside an input field or navigating to it using the keyboard's tab key, causing the element to become active and ready to receive user input."}),"\n",(0,i.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,i.jsxs)(t.table,{children:[(0,i.jsx)(t.thead,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,i.jsx)(t.th,{children:"Description"})]})}),(0,i.jsx)(t.tbody,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{style:{textAlign:"center"},children:(0,i.jsx)(t.code,{children:"getText()"})}),(0,i.jsx)(t.td,{children:"Gets the text of the component."})]})})]}),"\n",(0,i.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"./BlurEvent",children:"Blur Event"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var i=n(7294),s=n(917),o=n(8230),c=n(4387),r=n(6770);var a=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:u}=e;const[v,p]=(0,i.useState)("");(0,i.useEffect)((()=>{u||(u=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const m=s.iv` display: inline; ${l&&s.iv` diff --git a/assets/js/af08f1ee.998f39ad.js b/assets/js/af08f1ee.0fd55a24.js similarity index 99% rename from assets/js/af08f1ee.998f39ad.js rename to assets/js/af08f1ee.0fd55a24.js index 2786d881b..037480b27 100644 --- a/assets/js/af08f1ee.998f39ad.js +++ b/assets/js/af08f1ee.0fd55a24.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${k&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:E,children:["hidden"!=f?(0,m.BX)("div",{onMouseEnter:()=>{F(!0)},onMouseLeave:()=>F(!1),css:M,children:[(0,m.tZ)("div",{css:N,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:L})]}):null,(0,m.BX)(l.Z,{css:T,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:B,setCollapse:Z}):null,d?(0,m.BX)(s.Z,{children:[(0,m.tZ)(r.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:w})}),(0,m.tZ)(r.Z,{value:g?g[1]:"CSS",label:g?g[1]:C.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(s.Z,{children:(0,m.tZ)(r.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var i=n(7294),a=n(917),s=n(8230),r=n(4387),l=n(6770);var o=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,i.useState)("");(0,i.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const A=a.iv` + `;return(0,m.BX)("div",{css:E,children:["hidden"!=f?(0,m.BX)("div",{onMouseEnter:()=>{F(!0)},onMouseLeave:()=>F(!1),css:M,children:[(0,m.tZ)("div",{css:N,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:L})]}):null,(0,m.BX)(l.Z,{css:T,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:B,setCollapse:Z}):null,d?(0,m.BX)(s.Z,{children:[(0,m.tZ)(r.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:w})}),(0,m.tZ)(r.Z,{value:g?g[1]:"CSS",label:g?g[1]:C.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(s.Z,{children:(0,m.tZ)(r.Z,{value:g?g[0]:"Java",label:g?g[0]:C.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var i=n(7294),a=n(917),s=n(8230),r=n(4387),l=n(6770);var o=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,i.useState)("");(0,i.useEffect)((()=>{h||(h=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const A=a.iv` display: inline; ${c&&a.iv` diff --git a/assets/js/b6fc7147.e2867186.js b/assets/js/b6fc7147.e321ee65.js similarity index 98% rename from assets/js/b6fc7147.e2867186.js rename to assets/js/b6fc7147.e321ee65.js index fbf506c35..e0d64847d 100644 --- a/assets/js/b6fc7147.e2867186.js +++ b/assets/js/b6fc7147.e321ee65.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[5289],{5943:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>d,default:()=>x,frontMatter:()=>o,metadata:()=>c,toc:()=>h});var s=n(5893),i=n(1151),r=n(3273);const o={sidebar_position:0,title:"RightMouseDownEvent",sidebar_class_name:"sidebar--item__hidden",slug:"RightMouseDownEvent"},d=void 0,c={id:"components/events/right-mouse-down-event",title:"RightMouseDownEvent",description:"An event which is fired when the user clicks the right mouse button while in the bounds of a the component.",source:"@site/docs/components/events/right-mouse-down-event.md",sourceDirName:"components/events",slug:"/components/events/RightMouseDownEvent",permalink:"/docs/components/events/RightMouseDownEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/right-mouse-down-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"RightMouseDownEvent",sidebar_class_name:"sidebar--item__hidden",slug:"RightMouseDownEvent"},sidebar:"documentationSidebar",previous:{title:"MouseExitEvent",permalink:"/docs/components/events/MouseExitEvent"},next:{title:"ToggleEvent",permalink:"/docs/components/events/ToggleEvent"}},l={},h=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function a(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/event/RightMouseDownEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"An event which is fired when the user clicks the right mouse button while in the bounds of a the component."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getMouseButton()"})}),(0,s.jsx)(t.td,{children:"Returns whether or not a mouse button was pressed while the event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenX()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute abscissa screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenY()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute ordinate screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getX()"})}),(0,s.jsxs)(t.td,{children:["The X coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getY()"})}),(0,s.jsxs)(t.td,{children:["The Y coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isAltDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"alt"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isCmdDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"cmd"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isControlDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"ctrl"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isShiftDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"shift"})," key was pressed at the time this event was generated"]})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseEnterEvent",children:"MouseEnterEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseExitEvent",children:"MouseExitEvent"})}),"\n"]})]})}function x(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),i=n(917),r=n(8230),o=n(4387),d=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:a,suffix:x}=e;const[u,v]=(0,s.useState)("");(0,s.useEffect)((()=>{v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+x)}),[]);const j=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[5289],{5943:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>d,default:()=>x,frontMatter:()=>o,metadata:()=>c,toc:()=>h});var s=n(5893),i=n(1151),r=n(3273);const o={sidebar_position:0,title:"RightMouseDownEvent",sidebar_class_name:"sidebar--item__hidden",slug:"RightMouseDownEvent"},d=void 0,c={id:"components/events/right-mouse-down-event",title:"RightMouseDownEvent",description:"An event which is fired when the user clicks the right mouse button while in the bounds of a the component.",source:"@site/docs/components/events/right-mouse-down-event.md",sourceDirName:"components/events",slug:"/components/events/RightMouseDownEvent",permalink:"/docs/components/events/RightMouseDownEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/right-mouse-down-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"RightMouseDownEvent",sidebar_class_name:"sidebar--item__hidden",slug:"RightMouseDownEvent"},sidebar:"documentationSidebar",previous:{title:"MouseExitEvent",permalink:"/docs/components/events/MouseExitEvent"},next:{title:"ToggleEvent",permalink:"/docs/components/events/ToggleEvent"}},l={},h=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function a(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/event/RightMouseDownEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"An event which is fired when the user clicks the right mouse button while in the bounds of a the component."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getMouseButton()"})}),(0,s.jsx)(t.td,{children:"Returns whether or not a mouse button was pressed while the event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenX()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute abscissa screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenY()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute ordinate screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getX()"})}),(0,s.jsxs)(t.td,{children:["The X coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getY()"})}),(0,s.jsxs)(t.td,{children:["The Y coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(r.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isAltDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"alt"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isCmdDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"cmd"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isControlDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"ctrl"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isShiftDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"shift"})," key was pressed at the time this event was generated"]})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseEnterEvent",children:"MouseEnterEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseExitEvent",children:"MouseExitEvent"})}),"\n"]})]})}function x(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),i=n(917),r=n(8230),o=n(4387),d=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:a,suffix:x}=e;const[u,v]=(0,s.useState)("");(0,s.useEffect)((()=>{x||(x=""),v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+x)}),[]);const j=i.iv` display: inline; ${l&&i.iv` diff --git a/assets/js/b8ef75ed.8dd55fd5.js b/assets/js/b8ef75ed.29656403.js similarity index 99% rename from assets/js/b8ef75ed.8dd55fd5.js rename to assets/js/b8ef75ed.29656403.js index 8dd936e1a..cef77b1f4 100644 --- a/assets/js/b8ef75ed.8dd55fd5.js +++ b/assets/js/b8ef75ed.29656403.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${D&&"opacity: 1;"}; - `;return(0,u.BX)("div",{css:L,children:["hidden"!=x?(0,u.BX)("div",{onMouseEnter:()=>{H(!0)},onMouseLeave:()=>H(!1),css:k,children:[(0,u.tZ)("div",{css:V,children:(0,u.tZ)(m,{url:t})}),(0,u.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:Z})]}):null,(0,u.BX)(c.Z,{css:S,summary:(0,u.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,u.tZ)(g,{collapse:E,setCollapse:C}):null,A?(0,u.BX)(o.Z,{children:[(0,u.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:I.javaFile,default:!0,children:(0,u.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:E?b:f})}),(0,u.tZ)(r.Z,{value:w?w[1]:"CSS",label:w?w[1]:I.cssFile,children:(0,u.tZ)(a.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,u.tZ)(o.Z,{children:(0,u.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:I.javaFile,default:!0,children:(0,u.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:E?b:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var i=n(7294),s=n(917),o=n(8230),r=n(4387),c=n(6770);var a=n(5944);function l(e){let{type:t,location:n,top:l,children:A,code:d,suffix:h}=e;const[u,g]=(0,i.useState)("");(0,i.useEffect)((()=>{g("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const m=s.iv` + `;return(0,u.BX)("div",{css:L,children:["hidden"!=x?(0,u.BX)("div",{onMouseEnter:()=>{H(!0)},onMouseLeave:()=>H(!1),css:k,children:[(0,u.tZ)("div",{css:V,children:(0,u.tZ)(m,{url:t})}),(0,u.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:Z})]}):null,(0,u.BX)(c.Z,{css:S,summary:(0,u.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,u.tZ)(g,{collapse:E,setCollapse:C}):null,A?(0,u.BX)(o.Z,{children:[(0,u.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:I.javaFile,default:!0,children:(0,u.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:E?b:f})}),(0,u.tZ)(r.Z,{value:w?w[1]:"CSS",label:w?w[1]:I.cssFile,children:(0,u.tZ)(a.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,u.tZ)(o.Z,{children:(0,u.tZ)(r.Z,{value:w?w[0]:"Java",label:w?w[0]:I.javaFile,default:!0,children:(0,u.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:E?b:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var i=n(7294),s=n(917),o=n(8230),r=n(4387),c=n(6770);var a=n(5944);function l(e){let{type:t,location:n,top:l,children:A,code:d,suffix:h}=e;const[u,g]=(0,i.useState)("");(0,i.useEffect)((()=>{h||(h=""),g("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const m=s.iv` display: inline; ${l&&s.iv` diff --git a/assets/js/ba4df261.de036a0d.js b/assets/js/ba4df261.54d8e98a.js similarity index 99% rename from assets/js/ba4df261.de036a0d.js rename to assets/js/ba4df261.54d8e98a.js index e7900530c..12888fca9 100644 --- a/assets/js/ba4df261.de036a0d.js +++ b/assets/js/ba4df261.54d8e98a.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${k&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:E,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,m.tZ)("div",{css:V,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:L})]}):null,(0,m.BX)(s.Z,{css:T,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:D,setCollapse:B}):null,d?(0,m.BX)(r.Z,{children:[(0,m.tZ)(l.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?v:w})}),(0,m.tZ)(l.Z,{value:f?f[1]:"CSS",label:f?f[1]:F.cssFile,children:(0,m.tZ)(a.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:C})})]}):(0,m.tZ)(r.Z,{children:(0,m.tZ)(l.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?v:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),i=n(917),r=n(8230),l=n(4387),s=n(6770);var a=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,o.useState)("");(0,o.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const A=i.iv` + `;return(0,m.BX)("div",{css:E,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,m.tZ)("div",{css:V,children:(0,m.tZ)(A,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:L})]}):null,(0,m.BX)(s.Z,{css:T,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:D,setCollapse:B}):null,d?(0,m.BX)(r.Z,{children:[(0,m.tZ)(l.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?v:w})}),(0,m.tZ)(l.Z,{value:f?f[1]:"CSS",label:f?f[1]:F.cssFile,children:(0,m.tZ)(a.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:C})})]}):(0,m.tZ)(r.Z,{children:(0,m.tZ)(l.Z,{value:f?f[0]:"Java",label:f?f[0]:F.javaFile,default:!0,children:(0,m.tZ)(a.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:D?v:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),i=n(917),r=n(8230),l=n(4387),s=n(6770);var a=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,o.useState)("");(0,o.useEffect)((()=>{h||(h=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const A=i.iv` display: inline; ${c&&i.iv` diff --git a/assets/js/c548088a.a0618212.js b/assets/js/c548088a.e95d655e.js similarity index 97% rename from assets/js/c548088a.a0618212.js rename to assets/js/c548088a.e95d655e.js index 1a87923cd..02e3f37ae 100644 --- a/assets/js/c548088a.a0618212.js +++ b/assets/js/c548088a.e95d655e.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3021],{2610:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>v,frontMatter:()=>c,metadata:()=>r,toc:()=>d});var s=n(5893),o=n(1151),i=n(3273);const c={sidebar_position:0,title:"ToggleEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ToggleEvent"},l=void 0,r={id:"components/events/toggle-event",title:"ToggleEvent",description:'A "toggle" event occurs when an element or control changes its state between two possible states, such as "on" and "off" or "visible" and "hidden." It can apply to various elements, such as buttons, dropdowns, menus, or modals. When a "toggle" event is triggered, the element switches its state from one option to another, reflecting the user\'s action or changing conditions. This class also inherits methods from the base Event class',source:"@site/docs/components/events/toggle-event.md",sourceDirName:"components/events",slug:"/components/events/ToggleEvent",permalink:"/docs/components/events/ToggleEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/toggle-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ToggleEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ToggleEvent"},sidebar:"documentationSidebar",previous:{title:"RightMouseDownEvent",permalink:"/docs/components/events/RightMouseDownEvent"},next:{title:"UncheckEvent",permalink:"/docs/components/events/UncheckEvent"}},a={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/ToggleEvent",top:"true"}),"\n",(0,s.jsxs)(t.p,{children:['A "toggle" event occurs when an element or control changes its state between two possible states, such as "on" and "off" or "visible" and "hidden." It can apply to various elements, such as buttons, dropdowns, menus, or modals. When a "toggle" event is triggered, the element switches its state from one option to another, reflecting the user\'s action or changing conditions. This class also inherits methods from the ',(0,s.jsxs)(t.a,{href:"./event",children:["base ",(0,s.jsx)(t.code,{children:"Event"})," class"]})]}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isToggled()"})}),(0,s.jsx)(t.td,{children:"Gets the value of the component to determine whether it was toggled on or off."})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./CheckEvent",children:"Check Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./UncheckEvent",children:"Uncheck Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../checkbox",children:"CheckBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../radiobutton",children:"RadioButton"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(7294),o=n(917),i=n(8230),c=n(4387),l=n(6770);var r=n(5944);function a(e){let{type:t,location:n,top:a,children:d,code:h,suffix:v}=e;const[g,u]=(0,s.useState)("");(0,s.useEffect)((()=>{u("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const p=o.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[3021],{2610:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>v,frontMatter:()=>c,metadata:()=>r,toc:()=>d});var s=n(5893),o=n(1151),i=n(3273);const c={sidebar_position:0,title:"ToggleEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ToggleEvent"},l=void 0,r={id:"components/events/toggle-event",title:"ToggleEvent",description:'A "toggle" event occurs when an element or control changes its state between two possible states, such as "on" and "off" or "visible" and "hidden." It can apply to various elements, such as buttons, dropdowns, menus, or modals. When a "toggle" event is triggered, the element switches its state from one option to another, reflecting the user\'s action or changing conditions. This class also inherits methods from the base Event class',source:"@site/docs/components/events/toggle-event.md",sourceDirName:"components/events",slug:"/components/events/ToggleEvent",permalink:"/docs/components/events/ToggleEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/toggle-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ToggleEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ToggleEvent"},sidebar:"documentationSidebar",previous:{title:"RightMouseDownEvent",permalink:"/docs/components/events/RightMouseDownEvent"},next:{title:"UncheckEvent",permalink:"/docs/components/events/UncheckEvent"}},a={},d=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/ToggleEvent",top:"true"}),"\n",(0,s.jsxs)(t.p,{children:['A "toggle" event occurs when an element or control changes its state between two possible states, such as "on" and "off" or "visible" and "hidden." It can apply to various elements, such as buttons, dropdowns, menus, or modals. When a "toggle" event is triggered, the element switches its state from one option to another, reflecting the user\'s action or changing conditions. This class also inherits methods from the ',(0,s.jsxs)(t.a,{href:"./event",children:["base ",(0,s.jsx)(t.code,{children:"Event"})," class"]})]}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isToggled()"})}),(0,s.jsx)(t.td,{children:"Gets the value of the component to determine whether it was toggled on or off."})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./CheckEvent",children:"Check Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./UncheckEvent",children:"Uncheck Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../checkbox",children:"CheckBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../radiobutton",children:"RadioButton"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>a});var s=n(7294),o=n(917),i=n(8230),c=n(4387),l=n(6770);var r=n(5944);function a(e){let{type:t,location:n,top:a,children:d,code:h,suffix:v}=e;const[g,u]=(0,s.useState)("");(0,s.useEffect)((()=>{v||(v=""),u("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const p=o.iv` display: inline; ${a&&o.iv` diff --git a/assets/js/c58736f6.85e33dfa.js b/assets/js/c58736f6.373d732b.js similarity index 99% rename from assets/js/c58736f6.85e33dfa.js rename to assets/js/c58736f6.373d732b.js index 2168b9400..3d63ecbbb 100644 --- a/assets/js/c58736f6.85e33dfa.js +++ b/assets/js/c58736f6.373d732b.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${C&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:T,children:["hidden"!=v?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:J,children:[(0,p.tZ)("div",{css:F,children:(0,p.tZ)(m,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:O})]}):null,(0,p.BX)(l.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,p.tZ)(g,{collapse:k,setCollapse:S}):null,d?(0,p.BX)(s.Z,{children:[(0,p.tZ)(i.Z,{value:x?x[0]:"Java",label:x?x[0]:Z.javaFile,default:!0,children:(0,p.tZ)(r.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:j})}),(0,p.tZ)(i.Z,{value:x?x[1]:"CSS",label:x?x[1]:Z.cssFile,children:(0,p.tZ)(r.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:D})})]}):(0,p.tZ)(s.Z,{children:(0,p.tZ)(i.Z,{value:x?x[0]:"Java",label:x?x[0]:Z.javaFile,default:!0,children:(0,p.tZ)(r.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:j})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),o=n(917),s=n(8230),i=n(4387),l=n(6770);var r=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[p,g]=(0,a.useState)("");(0,a.useEffect)((()=>{g("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const m=o.iv` + `;return(0,p.BX)("div",{css:T,children:["hidden"!=v?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:J,children:[(0,p.tZ)("div",{css:F,children:(0,p.tZ)(m,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:O})]}):null,(0,p.BX)(l.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,p.tZ)(g,{collapse:k,setCollapse:S}):null,d?(0,p.BX)(s.Z,{children:[(0,p.tZ)(i.Z,{value:x?x[0]:"Java",label:x?x[0]:Z.javaFile,default:!0,children:(0,p.tZ)(r.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:j})}),(0,p.tZ)(i.Z,{value:x?x[1]:"CSS",label:x?x[1]:Z.cssFile,children:(0,p.tZ)(r.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:D})})]}):(0,p.tZ)(s.Z,{children:(0,p.tZ)(i.Z,{value:x?x[0]:"Java",label:x?x[0]:Z.javaFile,default:!0,children:(0,p.tZ)(r.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:j})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),o=n(917),s=n(8230),i=n(4387),l=n(6770);var r=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[p,g]=(0,a.useState)("");(0,a.useEffect)((()=>{u||(u=""),g("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const m=o.iv` display: inline; ${c&&o.iv` diff --git a/assets/js/dc93842a.27e75ad8.js b/assets/js/dc93842a.4f43cbda.js similarity index 97% rename from assets/js/dc93842a.27e75ad8.js rename to assets/js/dc93842a.4f43cbda.js index 6aeb059ca..c41229939 100644 --- a/assets/js/dc93842a.27e75ad8.js +++ b/assets/js/dc93842a.4f43cbda.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[4751],{2635:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>d,metadata:()=>c,toc:()=>h});var s=n(5893),r=n(1151),i=n(3273);const d={sidebar_position:0,title:"MouseEnterEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseEnterEvent"},o=void 0,c={id:"components/events/mouse-enter-event",title:"MouseEnterEvent",description:"An event that is triggered when the mouse cursor enters the boundaries of an element. It occurs when the user moves the mouse pointer over the specified element, indicating that the mouse has entered its area.",source:"@site/docs/components/events/mouse-enter-event.md",sourceDirName:"components/events",slug:"/components/events/MouseEnterEvent",permalink:"/docs/components/events/MouseEnterEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/mouse-enter-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"MouseEnterEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseEnterEvent"},sidebar:"documentationSidebar",previous:{title:"ModifyEvent",permalink:"/docs/components/events/ModifyEvent"},next:{title:"MouseExitEvent",permalink:"/docs/components/events/MouseExitEvent"}},l={},h=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function a(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/MouseEnterEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"An event that is triggered when the mouse cursor enters the boundaries of an element. It occurs when the user moves the mouse pointer over the specified element, indicating that the mouse has entered its area."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getMouseButton()"})}),(0,s.jsx)(t.td,{children:"Returns whether or not a mouse button was pressed while the event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenX()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute abscissa screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenY()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute ordinate screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getX()"})}),(0,s.jsxs)(t.td,{children:["The X coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getY()"})}),(0,s.jsxs)(t.td,{children:["The Y coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isAltDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"alt"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isCmdDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"cmd"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isControlDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"ctrl"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isShiftDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"shift"})," key was pressed at the time this event was generated"]})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseExitEvent",children:"MouseExit Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./RightMouseDownEvent",children:"RightMouseDown Event"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),r=n(917),i=n(8230),d=n(4387),o=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:a,suffix:u}=e;const[x,v]=(0,s.useState)("");(0,s.useEffect)((()=>{v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const j=r.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[4751],{2635:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>d,metadata:()=>c,toc:()=>h});var s=n(5893),r=n(1151),i=n(3273);const d={sidebar_position:0,title:"MouseEnterEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseEnterEvent"},o=void 0,c={id:"components/events/mouse-enter-event",title:"MouseEnterEvent",description:"An event that is triggered when the mouse cursor enters the boundaries of an element. It occurs when the user moves the mouse pointer over the specified element, indicating that the mouse has entered its area.",source:"@site/docs/components/events/mouse-enter-event.md",sourceDirName:"components/events",slug:"/components/events/MouseEnterEvent",permalink:"/docs/components/events/MouseEnterEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/mouse-enter-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"MouseEnterEvent",sidebar_class_name:"sidebar--item__hidden",slug:"MouseEnterEvent"},sidebar:"documentationSidebar",previous:{title:"ModifyEvent",permalink:"/docs/components/events/ModifyEvent"},next:{title:"MouseExitEvent",permalink:"/docs/components/events/MouseExitEvent"}},l={},h=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function a(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/event/MouseEnterEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"An event that is triggered when the mouse cursor enters the boundaries of an element. It occurs when the user moves the mouse pointer over the specified element, indicating that the mouse has entered its area."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getMouseButton()"})}),(0,s.jsx)(t.td,{children:"Returns whether or not a mouse button was pressed while the event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenX()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute abscissa screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getScreenY()"})}),(0,s.jsx)(t.td,{children:"Returns the absolute ordinate screen coordinate where this event happened."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getX()"})}),(0,s.jsxs)(t.td,{children:["The X coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getY()"})}),(0,s.jsxs)(t.td,{children:["The Y coordinate of the point at which this event occurred, relative to the parent ",(0,s.jsx)(i.Z,{type:"engine",location:"org/dwcj/component/window/Frame",code:"true",children:"Frame"}),"."]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isAltDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"alt"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isCmdDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"cmd"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isControlDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"ctrl"})," key was pressed at the time this event was generated"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"isShiftDown()"})}),(0,s.jsxs)(t.td,{children:["A boolean value indicating whether the ",(0,s.jsx)(t.code,{children:"shift"})," key was pressed at the time this event was generated"]})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./MouseExitEvent",children:"MouseExit Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./RightMouseDownEvent",children:"RightMouseDown Event"})}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var s=n(7294),r=n(917),i=n(8230),d=n(4387),o=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:h,code:a,suffix:u}=e;const[x,v]=(0,s.useState)("");(0,s.useEffect)((()=>{u||(u=""),v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const j=r.iv` display: inline; ${l&&r.iv` diff --git a/assets/js/dd91dd19.ff475d38.js b/assets/js/dd91dd19.3a8bec16.js similarity index 99% rename from assets/js/dd91dd19.ff475d38.js rename to assets/js/dd91dd19.3a8bec16.js index fae434ed6..438cc9559 100644 --- a/assets/js/dd91dd19.ff475d38.js +++ b/assets/js/dd91dd19.3a8bec16.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${C&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:Z,children:["hidden"!=y?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:z,children:[(0,p.tZ)("div",{css:I,children:(0,p.tZ)(x,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,p.BX)(s.Z,{css:T,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[o&&c?(0,p.tZ)(m,{collapse:L,setCollapse:D}):null,h?(0,p.BX)(a.Z,{children:[(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:L?w:b})}),(0,p.tZ)(r.Z,{value:v?v[1]:"CSS",label:v?v[1]:k.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:j})})]}):(0,p.tZ)(a.Z,{children:(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:L?w:b})})})]})]})}},3273:(e,t,o)=>{o.d(t,{Z:()=>c});var n=o(7294),i=o(917),a=o(8230),r=o(4387),s=o(6770);var l=o(5944);function c(e){let{type:t,location:o,top:c,children:h,code:d,suffix:u}=e;const[p,m]=(0,n.useState)("");(0,n.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+o+".html"+u)}),[]);const x=i.iv` + `;return(0,p.BX)("div",{css:Z,children:["hidden"!=y?(0,p.BX)("div",{onMouseEnter:()=>{B(!0)},onMouseLeave:()=>B(!1),css:z,children:[(0,p.tZ)("div",{css:I,children:(0,p.tZ)(x,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:E})]}):null,(0,p.BX)(s.Z,{css:T,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[o&&c?(0,p.tZ)(m,{collapse:L,setCollapse:D}):null,h?(0,p.BX)(a.Z,{children:[(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:L?w:b})}),(0,p.tZ)(r.Z,{value:v?v[1]:"CSS",label:v?v[1]:k.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:j})})]}):(0,p.tZ)(a.Z,{children:(0,p.tZ)(r.Z,{value:v?v[0]:"Java",label:v?v[0]:k.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:d,children:L?w:b})})})]})]})}},3273:(e,t,o)=>{o.d(t,{Z:()=>c});var n=o(7294),i=o(917),a=o(8230),r=o(4387),s=o(6770);var l=o(5944);function c(e){let{type:t,location:o,top:c,children:h,code:d,suffix:u}=e;const[p,m]=(0,n.useState)("");(0,n.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+o+".html"+u)}),[]);const x=i.iv` display: inline; ${c&&i.iv` diff --git a/assets/js/e5a16701.ad35635b.js b/assets/js/e5a16701.367eb227.js similarity index 99% rename from assets/js/e5a16701.ad35635b.js rename to assets/js/e5a16701.367eb227.js index 1373f5263..5519752db 100644 --- a/assets/js/e5a16701.ad35635b.js +++ b/assets/js/e5a16701.367eb227.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${Z&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:S,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{k(!0)},onMouseLeave:()=>k(!1),css:L,children:[(0,m.tZ)("div",{css:M,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:E})]}):null,(0,m.BX)(l.Z,{css:T,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:B,setCollapse:F}):null,d?(0,m.BX)(a.Z,{children:[(0,m.tZ)(s.Z,{value:v?v[0]:"Java",label:v?v[0]:N.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?f:w})}),(0,m.tZ)(s.Z,{value:v?v[1]:"CSS",label:v?v[1]:N.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(a.Z,{children:(0,m.tZ)(s.Z,{value:v?v[0]:"Java",label:v?v[0]:N.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?f:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var i=n(7294),r=n(917),a=n(8230),s=n(4387),l=n(6770);var o=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,i.useState)("");(0,i.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const b=r.iv` + `;return(0,m.BX)("div",{css:S,children:["hidden"!=g?(0,m.BX)("div",{onMouseEnter:()=>{k(!0)},onMouseLeave:()=>k(!1),css:L,children:[(0,m.tZ)("div",{css:M,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:E})]}):null,(0,m.BX)(l.Z,{css:T,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:B,setCollapse:F}):null,d?(0,m.BX)(a.Z,{children:[(0,m.tZ)(s.Z,{value:v?v[0]:"Java",label:v?v[0]:N.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?f:w})}),(0,m.tZ)(s.Z,{value:v?v[1]:"CSS",label:v?v[1]:N.cssFile,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(a.Z,{children:(0,m.tZ)(s.Z,{value:v?v[0]:"Java",label:v?v[0]:N.javaFile,default:!0,children:(0,m.tZ)(o.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?f:w})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var i=n(7294),r=n(917),a=n(8230),s=n(4387),l=n(6770);var o=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:u,suffix:h}=e;const[m,p]=(0,i.useState)("");(0,i.useEffect)((()=>{h||(h=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+h)}),[]);const b=r.iv` display: inline; ${c&&r.iv` diff --git a/assets/js/e71a10cb.a3e482b5.js b/assets/js/e71a10cb.02128069.js similarity index 97% rename from assets/js/e71a10cb.a3e482b5.js rename to assets/js/e71a10cb.02128069.js index d0cedaab1..a661fc20d 100644 --- a/assets/js/e71a10cb.a3e482b5.js +++ b/assets/js/e71a10cb.02128069.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[7711],{2530:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>v,frontMatter:()=>d,metadata:()=>r,toc:()=>l});var o=n(5893),i=n(1151),s=n(3273);const d={sidebar_position:0,title:"ModifyEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ModifyEvent"},a=void 0,r={id:"components/events/modify-event",title:"ModifyEvent",description:"An event that is fired when a component is edited. It provides information about the modified text of the component that is sent as part of the event payload.",source:"@site/docs/components/events/modify-event.md",sourceDirName:"components/events",slug:"/components/events/ModifyEvent",permalink:"/docs/components/events/ModifyEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/modify-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ModifyEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ModifyEvent"},sidebar:"documentationSidebar",previous:{title:"ListSelectEvent",permalink:"/docs/components/events/ListSelectEvent"},next:{title:"MouseEnterEvent",permalink:"/docs/components/events/MouseEnterEvent"}},c={},l=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/event/ModifyEvent",top:"true"}),"\n",(0,o.jsx)(t.p,{children:"An event that is fired when a component is edited. It provides information about the modified text of the component that is sent as part of the event payload."}),"\n",(0,o.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,o.jsxs)(t.table,{children:[(0,o.jsx)(t.thead,{children:(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,o.jsx)(t.th,{children:"Description"})]})}),(0,o.jsx)(t.tbody,{children:(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{style:{textAlign:"center"},children:(0,o.jsx)(t.code,{children:"getText()"})}),(0,o.jsx)(t.td,{children:"Gets the text of the component."})]})})]}),"\n",(0,o.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.a,{href:"./event",children:"Event"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),i=n(917),s=n(8230),d=n(4387),a=n(6770);var r=n(5944);function c(e){let{type:t,location:n,top:c,children:l,code:h,suffix:v}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const f=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[7711],{2530:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>v,frontMatter:()=>d,metadata:()=>r,toc:()=>l});var o=n(5893),i=n(1151),s=n(3273);const d={sidebar_position:0,title:"ModifyEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ModifyEvent"},a=void 0,r={id:"components/events/modify-event",title:"ModifyEvent",description:"An event that is fired when a component is edited. It provides information about the modified text of the component that is sent as part of the event payload.",source:"@site/docs/components/events/modify-event.md",sourceDirName:"components/events",slug:"/components/events/ModifyEvent",permalink:"/docs/components/events/ModifyEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/modify-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ModifyEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ModifyEvent"},sidebar:"documentationSidebar",previous:{title:"ListSelectEvent",permalink:"/docs/components/events/ListSelectEvent"},next:{title:"MouseEnterEvent",permalink:"/docs/components/events/MouseEnterEvent"}},c={},l=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2}];function h(e){const t={a:"a",code:"code",h2:"h2",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Z,{type:"engine",location:"org/dwcj/component/event/ModifyEvent",top:"true"}),"\n",(0,o.jsx)(t.p,{children:"An event that is fired when a component is edited. It provides information about the modified text of the component that is sent as part of the event payload."}),"\n",(0,o.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,o.jsxs)(t.table,{children:[(0,o.jsx)(t.thead,{children:(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,o.jsx)(t.th,{children:"Description"})]})}),(0,o.jsx)(t.tbody,{children:(0,o.jsxs)(t.tr,{children:[(0,o.jsx)(t.td,{style:{textAlign:"center"},children:(0,o.jsx)(t.code,{children:"getText()"})}),(0,o.jsx)(t.td,{children:"Gets the text of the component."})]})})]}),"\n",(0,o.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.a,{href:"./event",children:"Event"})}),"\n"]})]})}function v(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(7294),i=n(917),s=n(8230),d=n(4387),a=n(6770);var r=n(5944);function c(e){let{type:t,location:n,top:c,children:l,code:h,suffix:v}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{v||(v=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+v)}),[]);const f=i.iv` display: inline; ${c&&i.iv` diff --git a/assets/js/e97f9a74.b237cbec.js b/assets/js/e97f9a74.783f4e7b.js similarity index 99% rename from assets/js/e97f9a74.b237cbec.js rename to assets/js/e97f9a74.783f4e7b.js index 82d54b9cc..3320568ce 100644 --- a/assets/js/e97f9a74.b237cbec.js +++ b/assets/js/e97f9a74.783f4e7b.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${C&&"opacity: 1;"}; - `;return(0,m.BX)("div",{css:E,children:["hidden"!=v?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,m.tZ)("div",{css:O,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,m.BX)(o.Z,{css:J,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:S,setCollapse:k}):null,d?(0,m.BX)(r.Z,{children:[(0,m.tZ)(i.Z,{value:g?g[0]:"Java",label:g?g[0]:B.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:S?w:f})}),(0,m.tZ)(i.Z,{value:g?g[1]:"CSS",label:g?g[1]:B.cssFile,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(r.Z,{children:(0,m.tZ)(i.Z,{value:g?g[0]:"Java",label:g?g[0]:B.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:S?w:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),s=n(917),r=n(8230),i=n(4387),o=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,a.useState)("");(0,a.useEffect)((()=>{p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` + `;return(0,m.BX)("div",{css:E,children:["hidden"!=v?(0,m.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,m.tZ)("div",{css:O,children:(0,m.tZ)(b,{url:t})}),(0,m.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,m.BX)(o.Z,{css:J,summary:(0,m.tZ)("summary",{children:"Show Code"}),children:[n&&c?(0,m.tZ)(p,{collapse:S,setCollapse:k}):null,d?(0,m.BX)(r.Z,{children:[(0,m.tZ)(i.Z,{value:g?g[0]:"Java",label:g?g[0]:B.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:S?w:f})}),(0,m.tZ)(i.Z,{value:g?g[1]:"CSS",label:g?g[1]:B.cssFile,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,m.tZ)(r.Z,{children:(0,m.tZ)(i.Z,{value:g?g[0]:"Java",label:g?g[0]:B.javaFile,default:!0,children:(0,m.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:S?w:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),s=n(917),r=n(8230),i=n(4387),o=n(6770);var l=n(5944);function c(e){let{type:t,location:n,top:c,children:d,code:h,suffix:u}=e;const[m,p]=(0,a.useState)("");(0,a.useEffect)((()=>{u||(u=""),p("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=s.iv` display: inline; ${c&&s.iv` diff --git a/assets/js/eca5a6fe.dc084d16.js b/assets/js/eca5a6fe.442f7984.js similarity index 98% rename from assets/js/eca5a6fe.dc084d16.js rename to assets/js/eca5a6fe.442f7984.js index a2f27831d..c124c4202 100644 --- a/assets/js/eca5a6fe.dc084d16.js +++ b/assets/js/eca5a6fe.442f7984.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[1385],{9256:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>c,default:()=>m,frontMatter:()=>o,metadata:()=>d,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const o={sidebar_position:0,title:"ListSelectEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListSelectEvent"},c=void 0,d={id:"components/events/list-select-event",title:"ListSelectEvent",description:"This event is triggered when the user selects an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/list-select-event.md",sourceDirName:"components/events",slug:"/components/events/ListSelectEvent",permalink:"/docs/components/events/ListSelectEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-select-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListSelectEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListSelectEvent"},sidebar:"documentationSidebar",previous:{title:"ListOpenEvent",permalink:"/docs/components/events/ListOpenEvent"},next:{title:"ModifyEvent",permalink:"/docs/components/events/ModifyEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListSelectEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is triggered when the user selects an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListOpenEvent",children:"ListOpenEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListCloseEvent",children:"ListCloseEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ListBox",children:"ListBox"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),o=n(4387),c=n(6770);var d=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:m}=e;const[p,v]=(0,s.useState)("");(0,s.useEffect)((()=>{v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+m)}),[]);const x=i.iv` +"use strict";(self.webpackChunkdwcj_documentation=self.webpackChunkdwcj_documentation||[]).push([[1385],{9256:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>c,default:()=>m,frontMatter:()=>o,metadata:()=>d,toc:()=>a});var s=n(5893),i=n(1151),l=n(3273);const o={sidebar_position:0,title:"ListSelectEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListSelectEvent"},c=void 0,d={id:"components/events/list-select-event",title:"ListSelectEvent",description:"This event is triggered when the user selects an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen.",source:"@site/docs/components/events/list-select-event.md",sourceDirName:"components/events",slug:"/components/events/ListSelectEvent",permalink:"/docs/components/events/ListSelectEvent",draft:!1,unlisted:!1,editUrl:"https://github.com/DwcJava/dwcjava.github.io/tree/website/docs/components/events/list-select-event.md",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"ListSelectEvent",sidebar_class_name:"sidebar--item__hidden",slug:"ListSelectEvent"},sidebar:"documentationSidebar",previous:{title:"ListOpenEvent",permalink:"/docs/components/events/ListOpenEvent"},next:{title:"ModifyEvent",permalink:"/docs/components/events/ModifyEvent"}},r={},a=[{value:"Event Payload",id:"event-payload",level:2},{value:"See Also",id:"see-also",level:2},{value:"Events",id:"events",level:3},{value:"Components",id:"components",level:3}];function h(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{type:"engine",location:"org/dwcj/component/event/ListSelectEvent",top:"true"}),"\n",(0,s.jsx)(t.p,{children:"This event is triggered when the user selects an item from a List-based component. It provides essential information about the selected item and allows developers to implement custom actions or responses when an item is chosen."}),"\n",(0,s.jsx)(t.h2,{id:"event-payload",children:"Event Payload"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Method"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndex()"})}),(0,s.jsx)(t.td,{children:"Returns the selected index, or -1 if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItem()"})}),(0,s.jsx)(t.td,{children:"Returns the selected item, or null if no item is selected."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedIndices()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected indices, or an empty list if no item is selected. If the list doesn't support multiple selection, the list will contain only one item."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:(0,s.jsx)(t.code,{children:"getSelectedItems()"})}),(0,s.jsx)(t.td,{children:"Returns a list of selected items. If the list doesn't support multiple selection, the list will contain only one item."})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"see-also",children:"See Also"}),"\n",(0,s.jsx)(t.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./event",children:"Event"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListOpenEvent",children:"ListOpenEvent"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"./ListCloseEvent",children:"ListCloseEvent"})}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"components",children:"Components"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ChoiceBox",children:"ChoiceBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ComboBox",children:"ComboBox"})}),"\n",(0,s.jsx)(t.li,{children:(0,s.jsx)(t.a,{href:"../list-components/ListBox",children:"ListBox"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},3273:(e,t,n)=>{n.d(t,{Z:()=>r});var s=n(7294),i=n(917),l=n(8230),o=n(4387),c=n(6770);var d=n(5944);function r(e){let{type:t,location:n,top:r,children:a,code:h,suffix:m}=e;const[p,v]=(0,s.useState)("");(0,s.useEffect)((()=>{m||(m=""),v("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+m)}),[]);const x=i.iv` display: inline; ${r&&i.iv` diff --git a/assets/js/f3918844.18f02759.js b/assets/js/f3918844.37efd9d0.js similarity index 99% rename from assets/js/f3918844.18f02759.js rename to assets/js/f3918844.37efd9d0.js index 0adc784a7..97037c77d 100644 --- a/assets/js/f3918844.18f02759.js +++ b/assets/js/f3918844.37efd9d0.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${F&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:C,children:["hidden"!=b?(0,p.BX)("div",{onMouseEnter:()=>{k(!0)},onMouseLeave:()=>k(!1),css:T,children:[(0,p.tZ)("div",{css:N,children:(0,p.tZ)(A,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:E})]}):null,(0,p.BX)(o.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[s&&d?(0,p.tZ)(m,{collapse:B,setCollapse:Z}):null,c?(0,p.BX)(i.Z,{children:[(0,p.tZ)(a.Z,{value:g?g[0]:"Java",label:g?g[0]:P.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:x})}),(0,p.tZ)(a.Z,{value:g?g[1]:"CSS",label:g?g[1]:P.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(a.Z,{value:g?g[0]:"Java",label:g?g[0]:P.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:x})})})]})]})}},3273:(e,t,s)=>{s.d(t,{Z:()=>d});var n=s(7294),r=s(917),i=s(8230),a=s(4387),o=s(6770);var l=s(5944);function d(e){let{type:t,location:s,top:d,children:c,code:u,suffix:h}=e;const[p,m]=(0,n.useState)("");(0,n.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+s+".html"+h)}),[]);const A=r.iv` + `;return(0,p.BX)("div",{css:C,children:["hidden"!=b?(0,p.BX)("div",{onMouseEnter:()=>{k(!0)},onMouseLeave:()=>k(!1),css:T,children:[(0,p.tZ)("div",{css:N,children:(0,p.tZ)(A,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,h.I)().colorMode?"dark":"light"),css:E})]}):null,(0,p.BX)(o.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[s&&d?(0,p.tZ)(m,{collapse:B,setCollapse:Z}):null,c?(0,p.BX)(i.Z,{children:[(0,p.tZ)(a.Z,{value:g?g[0]:"Java",label:g?g[0]:P.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:x})}),(0,p.tZ)(a.Z,{value:g?g[1]:"CSS",label:g?g[1]:P.cssFile,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(i.Z,{children:(0,p.tZ)(a.Z,{value:g?g[0]:"Java",label:g?g[0]:P.javaFile,default:!0,children:(0,p.tZ)(l.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:u,children:B?v:x})})})]})]})}},3273:(e,t,s)=>{s.d(t,{Z:()=>d});var n=s(7294),r=s(917),i=s(8230),a=s(4387),o=s(6770);var l=s(5944);function d(e){let{type:t,location:s,top:d,children:c,code:u,suffix:h}=e;const[p,m]=(0,n.useState)("");(0,n.useEffect)((()=>{h||(h=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+s+".html"+h)}),[]);const A=r.iv` display: inline; ${d&&r.iv` diff --git a/assets/js/ff6d8346.ef4497e8.js b/assets/js/ff6d8346.02d0e713.js similarity index 99% rename from assets/js/ff6d8346.ef4497e8.js rename to assets/js/ff6d8346.02d0e713.js index ea469b95c..b962185f4 100644 --- a/assets/js/ff6d8346.ef4497e8.js +++ b/assets/js/ff6d8346.02d0e713.js @@ -82,7 +82,7 @@ transition: opacity 0.3s ease-in-out; ${S&&"opacity: 1;"}; - `;return(0,p.BX)("div",{css:C,children:["hidden"!=v?(0,p.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,p.tZ)("div",{css:M,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,p.BX)(r.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,p.tZ)(m,{collapse:k,setCollapse:D}):null,d?(0,p.BX)(s.Z,{children:[(0,p.tZ)(a.Z,{value:x?x[0]:"Java",label:x?x[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:f})}),(0,p.tZ)(a.Z,{value:x?x[1]:"CSS",label:x?x[1]:E.cssFile,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(s.Z,{children:(0,p.tZ)(a.Z,{value:x?x[0]:"Java",label:x?x[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(7294),i=n(917),s=n(8230),a=n(4387),r=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:u}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=i.iv` + `;return(0,p.BX)("div",{css:C,children:["hidden"!=v?(0,p.BX)("div",{onMouseEnter:()=>{Z(!0)},onMouseLeave:()=>Z(!1),css:N,children:[(0,p.tZ)("div",{css:M,children:(0,p.tZ)(b,{url:t})}),(0,p.tZ)("iframe",{loading:"lazy",src:t+"&theme="+("dark"===(0,u.I)().colorMode?"dark":"light"),css:T})]}):null,(0,p.BX)(r.Z,{css:L,summary:(0,p.tZ)("summary",{children:"Show Code"}),children:[n&&l?(0,p.tZ)(m,{collapse:k,setCollapse:D}):null,d?(0,p.BX)(s.Z,{children:[(0,p.tZ)(a.Z,{value:x?x[0]:"Java",label:x?x[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:f})}),(0,p.tZ)(a.Z,{value:x?x[1]:"CSS",label:x?x[1]:E.cssFile,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"css",showLineNumbers:!0,children:y})})]}):(0,p.tZ)(s.Z,{children:(0,p.tZ)(a.Z,{value:x?x[0]:"Java",label:x?x[0]:E.javaFile,default:!0,children:(0,p.tZ)(c.Z,{className:"codeDemoBlock",language:"java",showLineNumbers:!0,metastring:h,children:k?A:f})})})]})]})}},3273:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(7294),i=n(917),s=n(8230),a=n(4387),r=n(6770);var c=n(5944);function l(e){let{type:t,location:n,top:l,children:d,code:h,suffix:u}=e;const[p,m]=(0,o.useState)("");(0,o.useEffect)((()=>{u||(u=""),m("https://javadoc.io/doc/org.dwcj/dwcj-"+t+"/latest/"+n+".html"+u)}),[]);const b=i.iv` display: inline; ${l&&i.iv` diff --git a/assets/js/runtime~main.a86a959f.js b/assets/js/runtime~main.fe66c064.js similarity index 61% rename from assets/js/runtime~main.a86a959f.js rename to assets/js/runtime~main.fe66c064.js index b49df432d..3042be0f1 100644 --- a/assets/js/runtime~main.a86a959f.js +++ b/assets/js/runtime~main.fe66c064.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,f,c,d,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var f=t[e]={exports:{}};return b[e].call(f.exports,f,f.exports,r),f.exports}r.m=b,e=[],r.O=(a,f,c,d)=>{if(!f){var b=1/0;for(i=0;i